import { type TUnsafe } from '../type/unsafe/index'; import { TypeBoxError } from '../type/error/index'; export declare class TypeSystemDuplicateTypeKind extends TypeBoxError { constructor(kind: string); } export declare class TypeSystemDuplicateFormat extends TypeBoxError { constructor(kind: string); } export type TypeFactoryFunction> = (options?: Partial) => TUnsafe; /** Creates user defined types and formats and provides overrides for value checking behaviours */ export declare namespace TypeSystem { /** Creates a new type */ function Type>(kind: string, check: (options: Options, value: unknown) => boolean): TypeFactoryFunction; /** Creates a new string format */ function Format(format: F, check: (value: string) => boolean): F; }