import { Ref } from 'vue-demi';
export declare type LocalforageKey = string;
export declare function useLocalforage<T = undefined>(key: string): Promise<Ref<T | undefined>>;
export declare function useLocalforage<T = any>(key: string, defaultValue: T | (() => T)): Promise<Ref<T>>;