import * as z from 'zod'; import { type RawPrincipal } from './principal'; /** * @see Timestamp */ export declare const TimestampSchema: z.ZodBigInt; /** * Represents a timestamp in nanoseconds since the Unix epoch. * * Used for tracking when events occur, such as document creation and updates. */ export type Timestamp = z.infer; /** * @see Version */ export declare const VersionSchema: z.ZodBigInt; /** * Represents a version number for tracking changes. * * This is typically incremented with each update to ensure consistency. */ export type Version = z.infer; /** * @see RawUserId */ export declare const RawUserIdSchema: z.ZodCustom, Uint8Array>; /** * Represents a raw user identifier. * * This is a principal associated with a user. */ export type RawUserId = RawPrincipal; /** * @see UserId */ export declare const UserIdSchema: z.ZodPipe, z.ZodTransform>; /** * Represents a user identifier. * * This is a principal associated with a user. */ export type UserId = z.infer; /** * @see Collection */ export declare const CollectionSchema: z.ZodString; /** * A collection name where data are stored. */ export type Collection = z.infer; /** * @see Key */ export declare const KeySchema: z.ZodString; /** * A key identifier within a collection. */ export type Key = z.infer; /** * @see Description */ export declare const DescriptionSchema: z.ZodString; /** * Represents a description with a maximum length of 1024 characters. * Used for document and asset fields which can be useful for search purpose. */ export type Description = z.infer;