export declare const BUNDLED_RUNTIME_CONFIG_SCHEMA: {
    readonly $schema: "http://json-schema.org/draft-07/schema#";
    readonly $id: "https://powerhouse.inc/schemas/powerhouse.config.editable.json";
    readonly title: "Powerhouse Connect runtime configuration — operator-editable subset";
    readonly type: "object";
    readonly additionalProperties: false;
    readonly properties: {
        readonly $schema: {
            readonly type: "string";
        };
        readonly packageRegistryUrl: {
            readonly type: "string";
        };
        readonly connect: {
            readonly type: "object";
            readonly additionalProperties: false;
            readonly properties: {
                readonly branding: {
                    readonly type: "object";
                    readonly additionalProperties: false;
                    readonly properties: {
                        readonly appName: {
                            readonly type: "string";
                        };
                        readonly homeBackground: {
                            readonly type: readonly ["string", "null"];
                        };
                    };
                };
                readonly app: {
                    readonly type: "object";
                    readonly additionalProperties: false;
                    readonly properties: {
                        readonly logLevel: {
                            readonly type: "string";
                            readonly enum: readonly ["debug", "info", "warn", "error"];
                            readonly default: "info";
                        };
                        readonly basePath: {
                            readonly type: "string";
                            readonly default: "/";
                        };
                    };
                };
                readonly packages: {
                    readonly type: "object";
                    readonly additionalProperties: false;
                    readonly properties: {
                        readonly externalEnabled: {
                            readonly type: "boolean";
                            readonly default: true;
                        };
                        readonly liveReload: {
                            readonly type: "boolean";
                            readonly default: false;
                        };
                    };
                };
                readonly drives: {
                    readonly type: "object";
                    readonly additionalProperties: false;
                    readonly properties: {
                        readonly allowAddDrive: {
                            readonly type: "boolean";
                            readonly default: true;
                        };
                        readonly defaultDrives: {
                            readonly type: "array";
                            readonly default: readonly [];
                            readonly items: {
                                readonly type: "object";
                                readonly additionalProperties: false;
                                readonly required: readonly ["url"];
                                readonly properties: {
                                    readonly url: {
                                        readonly type: "string";
                                    };
                                    readonly name: {
                                        readonly type: readonly ["string", "null"];
                                    };
                                    readonly icon: {
                                        readonly type: readonly ["string", "null"];
                                    };
                                };
                            };
                        };
                        readonly preserveStrategy: {
                            readonly type: "string";
                            readonly enum: readonly ["preserve-all", "preserve-by-url-and-detach"];
                        };
                        readonly sections: {
                            readonly type: "object";
                            readonly additionalProperties: false;
                            readonly properties: {
                                readonly remote: {
                                    readonly type: "object";
                                    readonly additionalProperties: false;
                                    readonly properties: {
                                        readonly enabled: {
                                            readonly type: "boolean";
                                            readonly default: true;
                                        };
                                        readonly allowAdd: {
                                            readonly type: "boolean";
                                            readonly default: true;
                                        };
                                        readonly allowDelete: {
                                            readonly type: "boolean";
                                            readonly default: true;
                                        };
                                    };
                                };
                                readonly local: {
                                    readonly type: "object";
                                    readonly additionalProperties: false;
                                    readonly properties: {
                                        readonly enabled: {
                                            readonly type: "boolean";
                                            readonly default: true;
                                        };
                                        readonly allowAdd: {
                                            readonly type: "boolean";
                                            readonly default: true;
                                        };
                                        readonly allowDelete: {
                                            readonly type: "boolean";
                                            readonly default: true;
                                        };
                                    };
                                };
                            };
                        };
                    };
                };
                readonly renown: {
                    readonly type: "object";
                    readonly additionalProperties: false;
                    readonly properties: {
                        readonly url: {
                            readonly type: "string";
                            readonly default: "https://www.renown.id";
                        };
                        readonly networkId: {
                            readonly type: "string";
                            readonly default: "eip155";
                        };
                        readonly chainId: {
                            readonly type: "number";
                            readonly default: 1;
                        };
                    };
                };
                readonly sentry: {
                    readonly type: "object";
                    readonly additionalProperties: false;
                    readonly properties: {
                        readonly dsn: {
                            readonly type: readonly ["string", "null"];
                            readonly default: null;
                        };
                        readonly env: {
                            readonly type: "string";
                            readonly default: "dev";
                        };
                        readonly tracing: {
                            readonly type: "boolean";
                            readonly default: false;
                        };
                    };
                };
            };
        };
    };
};
export type RuntimeConfigIssue = {
    path: string;
    message: string;
};
export type ValidationResult = {
    ok: true;
} | {
    ok: false;
    issues: RuntimeConfigIssue[];
};
/**
 * Validate the operator-editable runtime-config partial (connect.* +
 * packageRegistryUrl). An empty object `{}` passes (it means "clear all
 * overrides, fall back to bundled defaults"); anything else must conform.
 */
export declare function validateRuntimeConfig(json: unknown): ValidationResult;
//# sourceMappingURL=runtime-config-validation.d.ts.map