import { type ZodObject, type ZodString, type ZodArray, type ZodNullable, type AnyZodObject, type ZodDiscriminatedUnion, type ZodDiscriminatedUnionOption, type ZodUnion, type ZodRecord, type KeySchema } from 'zod'; export type SupportedObjectLikeEntitySchema = AnyZodObject | ZodDiscriminatedUnion[]>; type SupportedUnionOption = AnyZodObject | ZodRecord | ZodString; export type SupportedCollectionEntitySchema = SupportedObjectLikeEntitySchema | ZodUnion<[SupportedUnionOption, ...SupportedUnionOption[]]>; export type Collection = { entities: Entity[]; cursor: { next: string | null; }; }; export type CollectionSchema = ZodObject<{ entities: ZodArray; cursor: ZodObject<{ next: ZodNullable; }, 'strict' | 'strip'>; }, 'strict' | 'strip'>; export declare function buildCollectionSchema(entitySchema: EntitySchema): CollectionSchema; export {}; //# sourceMappingURL=collection.d.ts.map