declare type StorageType = 'local' | 'session'; export declare function createSetting(name: string, defaultValue: string): { read: () => string; write: (value: string) => string; save: import("effector").Event; }; export declare function createJsonSetting(name: string, defaultValue: T, storageType?: StorageType): { read: () => T; write: (value: T) => T; save: import("effector").Event; }; export {};