export type UseStorageProps = {
    storage?: Storage;
    storageKey?: string;
};
export declare function useStorage({ storage, storageKey }: UseStorageProps): {
    codeInStorage: string;
    getCodeFromStorage: () => string | null;
    resetCodeInStorage: () => void;
    updateCodeInStorage: (code: string) => void;
};
