import { ValidatorError } from './errors';
import { type ClassType, type Type } from './model';
export type RuntimeValidator = (value: unknown) => ValidatorError | undefined | void;
export declare const validationRegistry: {
    register(name: string, validator: RuntimeValidator): void;
    get(name: string): RuntimeValidator | undefined;
};
export declare function validate<T>(value: unknown, target?: ClassType<T> | Type): ValidatorError[];
export declare function deserialize<T>(value: unknown, type?: Type): T;
export declare function validatedDeserialize<T>(value: unknown, _a?: unknown, _b?: unknown, _c?: unknown, type?: Type): T;
export declare function assert<T>(value: unknown, _deserializer?: unknown, type?: Type): asserts value is T;
export declare function is<T>(value: unknown, _deserializer?: unknown, type?: Type): value is T;
export declare function cast<T>(value: unknown, _deserializer?: unknown, _a?: unknown, _b?: unknown, type?: Type): T;
export declare function resolveReceiveType(value?: Type): Type;
//# sourceMappingURL=conversion.d.ts.map