import { State } from '../types'; /** * Destroys the store. * * {@link TauriStoreContract.stop} **MUST** be called immediately after. * * @internal */ export declare function destroy(plugin: string): (storeId: string) => Promise; /** * Loads the store state from the backend. * * @internal */ export declare function load(plugin: string): (id: string) => Promise; /** * Patches the store state in the backend. * * @internal */ export declare function patch(plugin: string): (id: string, state: State) => Promise; /** * Removes the store from the collection and disposes of its resources. * * @internal */ export declare function unload(plugin: string): (id: string) => Promise;