import { ContextProvider } from "@lit/context"; import { context } from "./index"; import { StateAction } from "./dispatcher"; import { Action, State } from "../types"; import { CommandEvent, CommandRegisterEvent } from "./events"; type Context = typeof context; export declare const mapState: (action: Action, state: State, value: any) => State; export declare class StateController extends ContextProvider { private _commands; hostConnected(): void; hostDisconnected(): void; setState: (action: Action, params: Record) => void; handleEvent: (e: CustomEvent) => void; resolvePendingCommands(): void; callCommand: (event?: CommandEvent) => void; registerCommand: (event: CommandRegisterEvent) => void; } export {};