import type { TableSpec } from './types.js'; export type DefaultValue = { kind: 'static'; value: unknown; } | { kind: 'now'; } | { kind: 'uuid'; } | { kind: 'sequence'; name: string; } | { kind: 'custom'; fn: () => unknown; }; export interface DefaultContext { now: string; uuid: () => string; } export declare function staticDefault(value: unknown): DefaultValue; export declare function nowDefault(): DefaultValue; export declare function uuidDefault(): DefaultValue; export declare function sequenceDefault(name: string): DefaultValue; export declare function customDefault(fn: () => unknown): DefaultValue; export declare function applyDefaults(table: TableSpec, row: Record, ctx: DefaultContext): Record; //# sourceMappingURL=defaults.d.ts.map