import { Plugin } from "..";
export interface PersistOptions {
    /** @defaultValue true */
    sync?: boolean;
    /** @defaultValue local */
    storage?: "local" | "session" | "cookie";
}
/**
 * A plugin that persists and syncs RGS store between tabs.
 *
 * @returns A plugin that persists and syncs a value between tabs.
 */
export declare const persist: <T>(options?: PersistOptions) => Plugin<T>;
