import { PiniaPluginContext } from 'pinia';
export interface PersistStrategy {
    key?: string;
    storage?: Storage;
    paths?: string[];
}
export interface PersistOptions {
    enabled: true;
    detached?: true;
    enforceCustomStorage?: boolean;
    H5Storage?: Storage;
    strategies?: PersistStrategy[];
}
declare module 'pinia' {
    interface DefineStoreOptionsBase<S, Store> {
        persist?: PersistOptions;
    }
}
declare const _default: ({ options, store }: PiniaPluginContext) => void;
export default _default;
