import { StateDispatcher, GlobalStateContext } from 'piral-core'; export declare function createState(ctx: GlobalStateContext, id: string, data: TState): void; export declare function destroyState(ctx: GlobalStateContext, id: string): void; export declare function replaceState(ctx: GlobalStateContext, id: string, dispatch: StateDispatcher): void;