import type { ClickHouseSchemaAst } from '../schema/types.js'; import type { Snapshot } from './types.js'; type SnapshotWithoutHash = Omit; /** * Converts a schema AST into a deterministic ClickHouse snapshot. * * Snapshot serialization normalizes ordering, SQL-expression whitespace, type * wrappers, settings, and materialized-view dependencies before computing the * content hash used by migration metadata. */ export declare function serializeSchemaToSnapshot(schema: ClickHouseSchemaAst): Snapshot; /** * Serializes a snapshot with stable formatting for writing to disk and hashing. */ export declare function snapshotToStableJson(snapshot: Snapshot | SnapshotWithoutHash): string; /** * Computes the SHA-256 content hash for a normalized snapshot. */ export declare function hashSnapshot(snapshot: Snapshot | SnapshotWithoutHash): string; export {}; //# sourceMappingURL=serialize.d.ts.map