export type CastFunction = (value: unknown) => T; /** Returns the entries in this registry */ export declare function entries(): Map; /** Clears all user defined cast functions */ export declare function clear(): void; /** Deletes a registered cast function */ export declare function remove(kind: string): boolean; /** Returns true if the user defined cast function exists */ export declare function has(kind: string): boolean; /** Sets a validation function for a user defined cast function */ export declare function set(name: string, function_: CastFunction): void; /** Gets a validation function for a user defined cast function */ export declare function get(name: string): CastFunction | undefined; export declare class NotRegistered extends Error { constructor(cast: string); } export declare const Enum: { Boolean: string; Number: string; String: string; DateTime: string; };