import { z } from 'zod'; /** * The schema for {@link UserCTO} documents. This also acts a base for the {@link UserSchema}. */ export declare const UserCTOSchema: z.ZodObject<{ _id: z.ZodPipe, z.ZodTransform<`${string}-${string}-${string}-${string}-${string}`, string>>; userName: z.ZodString; }, z.core.$strip>; /** * The schema for {@link User} documents. */ export declare const UserSchema: z.ZodObject<{ _id: z.ZodPipe, z.ZodTransform<`${string}-${string}-${string}-${string}-${string}`, string>>; userName: z.ZodString; email: z.ZodOptional>; auth: z.ZodDefault>; googleId: z.ZodOptional>; isSuperAdmin: z.ZodOptional>; refreshTokenHashes: z.ZodDefault>>; }, z.core.$strip>>; projectAccess: z.ZodDefault; workout: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>; /** * A standard user of all personal projects. This should be linked to from * other documents that need to reference a user, instead of cluttering the * key user information. */ export type User = z.infer; /** * A User CTO which can be used to reference a User with only the necessary * information. */ export type UserCTO = z.infer; //# sourceMappingURL=User.d.ts.map