/// <reference types="@vueuse/shared" />
import { type MaybeRefOrGetter } from '@vueuse/core';
import type { UseIDBOptions } from '@vueuse/integrations/useIDBKeyval';
/**
 * indexedDB 的封装
 * 与 @vueuse/integrations/useIDBKeyval 的区别是，这个hook提供等待indexedDB 初始化完成的方法 initIndexedDBComplete
 */
export declare const useIDBKeyval: <T>(key: IDBValidKey, initialValue: MaybeRefOrGetter<T>, options?: UseIDBOptions) => {
    data: import("@vueuse/shared").RemovableRef<T>;
    isFinished: import("vue").Ref<boolean>;
    set: (value: T) => Promise<void>;
    initIndexedDBComplete: () => Promise<undefined>;
};
