export declare const DEFAULT_MIGRATIONS_OUT_DIR = "./migrations"; export declare const DEFAULT_MIGRATIONS_TABLE = "_hypequery_migrations"; export declare const DEFAULT_MIGRATIONS_LOCK_TABLE = "hypequery_migration_locks"; export declare const DEFAULT_MIGRATIONS_PREFIX: "timestamp"; export type MigrationFilePrefix = typeof DEFAULT_MIGRATIONS_PREFIX; export interface ClickHouseMigrationDirectoryConfig { out: string; table: string; lockTable: string; prefix: MigrationFilePrefix; } export interface ClickHouseMigrationDbCredentials { host: string; port?: number; username: string; password?: string; database: string; secure?: boolean; } export interface ClickHouseClusterConfig { name: string; } export interface HypequeryClickHouseConfig { dialect: 'clickhouse'; schema: string; migrations?: Partial; dbCredentials: ClickHouseMigrationDbCredentials; cluster?: ClickHouseClusterConfig; } export interface ResolvedHypequeryClickHouseConfig extends Omit { migrations: ClickHouseMigrationDirectoryConfig; } /** * Defines a ClickHouse migration configuration while preserving literal TypeScript types. * * Use this from `hypequery.config.ts` so the CLI can load database credentials, * schema entry points, and migration output settings from one typed object. */ export declare function defineConfig(config: HypequeryClickHouseConfig): HypequeryClickHouseConfig; /** * Applies default migration settings to a user-provided ClickHouse config. * * This keeps CLI and programmatic callers aligned on the default output directory, * migration table name, and timestamp-based file prefix strategy. */ export declare function resolveClickHouseConfig(config: HypequeryClickHouseConfig): ResolvedHypequeryClickHouseConfig; //# sourceMappingURL=types.d.ts.map