import { StoreEnhancer } from 'amos'; export declare const enum DispatchKind { Preload = "P", Action = "A", Mutation = "M", Signal = "S", Transaction = "T" } export interface AnyAction { type: string; } export interface ExternalActionHook { subscribe(fn: (action: AnyAction) => void): void; } export interface DevToolsOptions { /** * The name of the store, default is the title of the page */ name?: string; /** * Force disable devtools even if using {@see forceWithDevTools} */ disable?: boolean; externals?: ExternalActionHook[]; } /** * Enable devtools when `process.env.NODE_ENV` is `development` * @param options */ export declare function withDevTools(options?: DevToolsOptions): StoreEnhancer; /** * Force enable devtools regardless of `process.env.NODE_ENV`, but you can control it by * `options.disable`. * * @param options */ export declare function forceWithDevTools(options?: DevToolsOptions): StoreEnhancer;