import type { ObjectType, Value } from "convex/values"; import { Entry, EntryFilter, type Namespace } from "../shared.js"; import type { Doc, Id } from "./_generated/dataModel.js"; import { type QueryCtx } from "./_generated/server.js"; import { StatusWithOnComplete } from "./schema.js"; export declare function publicNamespace(namespace: Doc<"namespaces">): Namespace; export declare function publicEntry(entry: { _id: Id<"entries">; key?: string | undefined; importance: number; filterValues: EntryFilter[]; contentHash?: string | undefined; title?: string | undefined; metadata?: Record | undefined; status: StatusWithOnComplete; }): Entry; export declare const vNamespaceLookupArgs: { namespace: import("convex/values").VString; modelId: import("convex/values").VString; dimension: import("convex/values").VFloat64; filterNames: import("convex/values").VArray, "required">; }; export declare function getCompatibleNamespaceHandler(ctx: QueryCtx, args: ObjectType): Promise<{ _id: import("convex/values").GenericId<"namespaces">; _creationTime: number; namespace: string; status: { onComplete?: string | undefined; kind: "pending"; } | { kind: "ready"; } | { replacedAt: number; kind: "replaced"; }; filterNames: string[]; dimension: number; modelId: string; version: number; } | null>; export declare function namespaceIsCompatible(existing: Doc<"namespaces">, args: { modelId: string; dimension: number; filterNames: string[]; }): boolean; export declare function getPreviousEntry(ctx: QueryCtx, entry: Doc<"entries">): Promise<{ _id: import("convex/values").GenericId<"entries">; _creationTime: number; metadata?: Record | undefined; key?: string | undefined; title?: string | undefined; contentHash?: string | undefined; namespaceId: import("convex/values").GenericId<"namespaces">; status: { onComplete?: string | undefined; kind: "pending"; } | { kind: "ready"; } | { replacedAt: number; kind: "replaced"; }; version: number; importance: number; filterValues: { name: string; value: any; }[]; } | null>; //# sourceMappingURL=helpers.d.ts.map