export declare type JsonValue = { [key: string]: JsonValue | number | string | unknown[]; }; export declare type Serializer = (obj: T) => JsonValue; export declare type Deserializer = (obj: JsonValue) => T;