import type { Type } from './model';
type DeserializeHandler = (type: Type, state: DeserializerState) => void;
export declare class DeserializerRegistry {
    private readonly decorators;
    addDecorator(predicate: (type: Type) => boolean, handler: DeserializeHandler): void;
    apply(type: Type, value: unknown): unknown;
}
export declare class DeserializerState {
    private transforms;
    addTransform(transform: (value: unknown) => unknown): void;
    apply(value: unknown): unknown;
}
export declare const deserializer: DeserializerRegistry;
export {};
//# sourceMappingURL=deserializer.d.ts.map