import { type ChxConfigEnv, type ResolvedChxConfig } from '@chkit/core'; export declare const DEFAULT_CONFIG_FILE = "clickhouse.config.ts"; export type ConfigSource = 'project' | 'profile'; export interface LoadedConfig { config: ResolvedChxConfig; path: string; source: ConfigSource; profileLayered: boolean; } export declare function loadConfig(configPathArg?: string, env?: ChxConfigEnv, options?: { command?: string; cwd?: string; userConfigDir?: string; allowSynthesizedProfileConfig?: boolean; }): Promise; export declare function parseMissingModule(message: string): string | undefined; /** * Transpile/build failures (e.g. a syntax error in clickhouse.config.ts) throw * an AggregateError whose top-level message is only a summary like * "2 errors building config.ts"; the actual diagnostics live in `.errors`. * Surface them so the user can see what to fix (#21). */ export declare function collectAggregateErrorMessages(error: unknown): string[]; export declare function writeIfMissing(filePath: string, content: string): Promise; export declare function resolveDirs(config: ResolvedChxConfig): { outDir: string; migrationsDir: string; metaDir: string; }; //# sourceMappingURL=config.d.ts.map