export interface useSessionStorageProps { name: string; defaultValue?: T; parse?: (value: any) => T; updateValue?: (oldValue: O, newValue: T) => T; } export declare const useSessionStorage: (props: useSessionStorageProps) => { load: boolean; value: T | undefined; setSessionStorage: (newValue: any) => void; onClearSessionStorage: () => void; };