import { type Ref, type InjectionKey } from 'vue'; export interface StateActionOptions { initialState?: Record; subscribeKey?: string; } export interface UseStateActionReturn { stateMap: Ref>; currentStateKey: Ref; setStateMap: (stateMap: Record | ((prev: Record) => Record)) => void; getCurrentState: () => Record; getStateByKey: (key: string) => any; } export declare const useAgentState: (options?: StateActionOptions) => UseStateActionReturn; export declare const AgentStateKey: InjectionKey; export declare const provideAgentState: (state: UseStateActionReturn) => void; export declare const useAgentStateDataByKey: (stateKey?: Ref | string) => import("vue").ComputedRef; export declare const useAgentStateContext: () => UseStateActionReturn;