import { z } from 'zod'; export declare const create_uuid: () => Uuid; export declare const Uuid: z.core.$ZodBranded; export type Uuid = z.infer; export declare const UuidWithDefault: z.ZodDefault>; export type UuidWithDefault = z.infer; /** * Loosely validates a UUID string. */ export declare const is_uuid: (str: string) => boolean; /** * Postgres doesn't support the namespace prefix, so neither does Felt. * For more see the UUID RFC - https://tools.ietf.org/html/rfc4122 * The Ajv validator does support the namespace, hence this custom implementation. */ export declare const UUID_MATCHER: RegExp; export type ClientIdCreator = () => string; /** * Creates a string id generator function, outputting `${name}_${count}` by default. */ export declare const create_client_id_creator: (name: string, count?: number, separator?: string) => ClientIdCreator; //# sourceMappingURL=id.d.ts.map