import State from "./index"; import { StorageKey } from "../storage"; /** * Will persist the 'state' into the configured storage with the key or if no key passed the state key */ export declare function persistValue(state: State, key?: StorageKey): Promise; /** * Save current _value into storage if isPersistState */ export declare function updateValue(state: State): void;