export declare function useStorage(id: string, initialState?: T, collection?: string): [T, (newState: T) => void, boolean];