import z from 'zod'; /** * Base schema for all documents. Provides the common `_id` field required by * MongoDB and other document databases. All document schemas should extend * this schema. */ export declare const BaseDocumentSchema: z.ZodObject<{ _id: z.ZodPipe, z.ZodTransform<`${string}-${string}-${string}-${string}-${string}`, string>>; }, z.z.core.$strip>; /** * Base schema for all documents with a `docType` field. */ export declare const BaseDocumentWithTypeSchema: z.ZodObject<{ _id: z.ZodPipe, z.ZodTransform<`${string}-${string}-${string}-${string}-${string}`, string>>; docType: z.ZodString; }, z.z.core.$strip>; export declare const BaseDocumentWithUpdatedAndCreatedDatesSchema: z.ZodObject<{ createdDate: z.ZodDefault; lastUpdatedDate: z.ZodDefault; }, z.z.core.$strip>; /** * Base document type for all documents stored in a document database. */ export type BaseDocument = z.infer; /** * Base document type with a `docType` field. */ export type BaseDocumentWithType = z.infer; /** * Base document type with `createdDate` and `lastUpdatedDate` fields. */ export type BaseDocumentWithUpdatedAndCreatedDates = z.infer; //# sourceMappingURL=BaseDocument.d.ts.map