export type SerializedState<T> = T extends Map<string, infer U> ? Record<string, SerializedState<U>> : T extends Set<infer U> ? Array<SerializedState<U>> : T extends Record<string, infer U> ? Record<string, SerializedState<U>> : T extends Array<infer U> ? Array<SerializedState<U>> : T;
export declare function serializeState<T>(state: T): SerializedState<T>;
//# sourceMappingURL=serializeState.d.ts.map