import { type Ref } from 'vue'; import type { AgentToolcallConfig, ToolcallComponentProps } from '../components/toolcall/types'; export interface UseAgentToolcallReturn { register: (config: AgentToolcallConfig | AgentToolcallConfig[]) => void; unregister: (names: string | string[]) => void; isRegistered: (name: string) => boolean; getRegistered: () => string[]; config: Ref; } export declare function useAgentToolcall(config?: AgentToolcallConfig | AgentToolcallConfig[] | null | undefined): UseAgentToolcallReturn; export interface ToolConfigWithStateOptions { name: string; description: string; parameters: Array<{ name: string; type: string; }>; subscribeKey?: (props: ToolcallComponentProps) => string | undefined; component: new (props: ToolcallComponentProps & { agentState?: Record; }) => any; }