import { type DelDoc, type SetDoc } from '../../schemas/db'; import { type Key, type RawUserId, type UserId } from '../../schemas/satellite'; import { type CollectionParams, type ListStoreParams } from './params'; /** * @see GetDocStoreParams */ export declare const GetDocStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; caller: import("zod").ZodUnion<[import("zod").ZodCustom, Uint8Array>, import("zod").ZodPipe, import("zod").ZodTransform>]>; key: import("zod").ZodString; }, import("zod/v4/core").$strict>; /** * Represents the base parameters required to access the datastore and modify a document. */ export type GetDocStoreParams = CollectionParams & { /** * The caller who initiate the document operation. */ caller: RawUserId | UserId; /** * The key identifying the document within the collection. */ key: Key; }; /** * @see SetDocStoreParams */ export declare const SetDocStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; caller: import("zod").ZodUnion<[import("zod").ZodCustom, Uint8Array>, import("zod").ZodPipe, import("zod").ZodTransform>]>; key: import("zod").ZodString; doc: import("zod").ZodObject<{ data: import("zod").ZodCustom, Uint8Array>; description: import("zod").ZodOptional; version: import("zod").ZodOptional; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; /** * Represents the parameters required to store or update a document. * * This includes the document data along with metadata such as the caller, * collection, and key. */ export type SetDocStoreParams = GetDocStoreParams & { /** * The data, optional description and version required to create or update a document. */ doc: SetDoc; }; /** * @see DeleteDocStoreParams */ export declare const DeleteDocStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; caller: import("zod").ZodUnion<[import("zod").ZodCustom, Uint8Array>, import("zod").ZodPipe, import("zod").ZodTransform>]>; key: import("zod").ZodString; doc: import("zod").ZodObject<{ version: import("zod").ZodOptional; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; /** * Represents the parameters required to delete a document. * * This includes the document version along with metadata such as the caller, * collection, and key. */ export type DeleteDocStoreParams = GetDocStoreParams & { /** * The version required to delete a document. */ doc: DelDoc; }; /** * @see CountCollectionDocsStoreParams */ export declare const CountCollectionDocsStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; }, import("zod/v4/core").$strict>; /** * The parameters required to count documents from the datastore. */ export type CountCollectionDocsStoreParams = CollectionParams; /** * @see CountDocsStoreParams */ export declare const CountDocsStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; caller: import("zod").ZodUnion<[import("zod").ZodCustom, Uint8Array>, import("zod").ZodPipe, import("zod").ZodTransform>]>; params: import("zod").ZodObject<{ matcher: import("zod").ZodOptional; description: import("zod").ZodOptional; created_at: import("zod").ZodOptional, import("zod").ZodObject<{ greater_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ less_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ between: import("zod").ZodTuple<[import("zod").ZodBigInt, import("zod").ZodBigInt], null>; }, import("zod/v4/core").$strip>]>>; updated_at: import("zod").ZodOptional, import("zod").ZodObject<{ greater_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ less_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ between: import("zod").ZodTuple<[import("zod").ZodBigInt, import("zod").ZodBigInt], null>; }, import("zod/v4/core").$strip>]>>; }, import("zod/v4/core").$strict>>; paginate: import("zod").ZodOptional; limit: import("zod").ZodOptional; }, import("zod/v4/core").$strict>>; order: import("zod").ZodOptional; }, import("zod/v4/core").$strict>>; owner: import("zod").ZodOptional, Uint8Array>>; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; /** * The parameters required to count documents from the datastore. */ export type CountDocsStoreParams = ListStoreParams; /** * @see ListDocsStoreParams */ export declare const ListDocsStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; caller: import("zod").ZodUnion<[import("zod").ZodCustom, Uint8Array>, import("zod").ZodPipe, import("zod").ZodTransform>]>; params: import("zod").ZodObject<{ matcher: import("zod").ZodOptional; description: import("zod").ZodOptional; created_at: import("zod").ZodOptional, import("zod").ZodObject<{ greater_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ less_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ between: import("zod").ZodTuple<[import("zod").ZodBigInt, import("zod").ZodBigInt], null>; }, import("zod/v4/core").$strip>]>>; updated_at: import("zod").ZodOptional, import("zod").ZodObject<{ greater_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ less_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ between: import("zod").ZodTuple<[import("zod").ZodBigInt, import("zod").ZodBigInt], null>; }, import("zod/v4/core").$strip>]>>; }, import("zod/v4/core").$strict>>; paginate: import("zod").ZodOptional; limit: import("zod").ZodOptional; }, import("zod/v4/core").$strict>>; order: import("zod").ZodOptional; }, import("zod/v4/core").$strict>>; owner: import("zod").ZodOptional, Uint8Array>>; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; /** * The parameters required to list documents from the datastore. */ export type ListDocsStoreParams = ListStoreParams; /** * @see DeleteDocsStoreParams */ export declare const DeleteDocsStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; }, import("zod/v4/core").$strict>; /** * The parameters required to delete the documents from a collection of the datastore. */ export type DeleteDocsStoreParams = CollectionParams; /** * @see DeleteFilteredDocsParams */ export declare const DeleteFilteredDocsStoreParamsSchema: import("zod").ZodObject<{ collection: import("zod").ZodString; caller: import("zod").ZodUnion<[import("zod").ZodCustom, Uint8Array>, import("zod").ZodPipe, import("zod").ZodTransform>]>; params: import("zod").ZodObject<{ matcher: import("zod").ZodOptional; description: import("zod").ZodOptional; created_at: import("zod").ZodOptional, import("zod").ZodObject<{ greater_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ less_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ between: import("zod").ZodTuple<[import("zod").ZodBigInt, import("zod").ZodBigInt], null>; }, import("zod/v4/core").$strip>]>>; updated_at: import("zod").ZodOptional, import("zod").ZodObject<{ greater_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ less_than: import("zod").ZodBigInt; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ between: import("zod").ZodTuple<[import("zod").ZodBigInt, import("zod").ZodBigInt], null>; }, import("zod/v4/core").$strip>]>>; }, import("zod/v4/core").$strict>>; paginate: import("zod").ZodOptional; limit: import("zod").ZodOptional; }, import("zod/v4/core").$strict>>; order: import("zod").ZodOptional; }, import("zod/v4/core").$strict>>; owner: import("zod").ZodOptional, Uint8Array>>; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; /** * The parameters required to delete documents from the datastore. */ export type DeleteFilteredDocsStoreParams = ListStoreParams;