export interface FieldType { name: string; schema?: string; args?: (string | number | boolean)[]; array_dimensions?: number; range?: string[]; } export type FieldDefault = { value: string | number | boolean | null | unknown[] | Record; cast?: FieldType; } | { function: string; schema?: string; args?: (FieldDefault | string | number | boolean | null)[]; cast?: FieldType; } | { operator: '+' | '-'; left: FieldDefault; right: FieldDefault; } | { sql_keyword: string; }; export declare function fieldTypeToTypeName(t: unknown): string; export declare function toFieldType(typeName: string): FieldType; export declare function toFieldDefault(def?: string | null): FieldDefault | undefined;