/** * Document conversion codecs. */ import type { Codec } from "@kernl-sdk/shared/lib"; import type { UnknownDocument } from "@kernl-sdk/retrieval"; import type { Row } from "@turbopuffer/turbopuffer/resources/namespaces"; /** * Codec for converting documents to Turbopuffer Row. * * Documents must have an `id` field. All other fields become attributes. * Undefined values are omitted. */ export declare const DOCUMENT: Codec; /** * Codec for converting document patches to Turbopuffer Row. * * Similar to DOCUMENT but passes through null values to unset fields. */ export declare const PATCH: Codec; //# sourceMappingURL=document.d.ts.map