import { type RawBuilder } from "kysely"; /** * Helper function to create JSONB values for PostgreSQL * Follows Kysely best practices: https://kysely.dev/docs/recipes/extending-kysely#expression * * @example * db.insertInto("audios").values({ * metadata: json({ model: "whisper", transcription_start_time: new Date().toISOString() }) * }) */ export declare function json(value: T): RawBuilder; /** * Helper function to cast string values to UUID for PostgreSQL * * @example * db.selectFrom("audios").where("id", "=", uuid(audioId)) */ export declare function uuid(value: string): RawBuilder; /** * Helper function to cast string values to TEXT for PostgreSQL * Useful when PostgreSQL can't infer the parameter type * * @example * db.updateTable("notes").set({ * content: sql`CONCAT(content, E'\n', ${text(appendContent)})` * }) */ export declare function text(value: string): RawBuilder;