export declare const LABEL_TO_TYPE: Record; export interface SubMenuItem { title: string; content: string; id?: string; materialType?: string; variableName?: string; variableKey?: string; } interface LegacyAiProps { appKey?: string; appSalt?: string; baseHttp?: string; workflowBaseUrl?: string; mobileBotBaseHttp?: string; username?: string; password?: string; ids?: Record; } export declare const useLegacyAi: (props: LegacyAiProps) => { typeOptions: import('vue').ComputedRef; currentSubList: import('vue').ComputedRef<{ title: string; content: string; id?: string | undefined; materialType?: string | undefined; variableName?: string | undefined; variableKey?: string | undefined; }[]>; findAgentGroup: (agentId: string) => { label: string; agentId?: string | undefined; list: { title: string; content: string; id?: string | undefined; materialType?: string | undefined; variableName?: string | undefined; variableKey?: string | undefined; }[]; } | null; activeLabel: import('vue').Ref; activeSubItem: import('vue').Ref<{ title: string; content: string; id?: string | undefined; materialType?: string | undefined; variableName?: string | undefined; variableKey?: string | undefined; } | null, SubMenuItem | { title: string; content: string; id?: string | undefined; materialType?: string | undefined; variableName?: string | undefined; variableKey?: string | undefined; } | null>; selectLabel: (label: string, autoSelect?: boolean) => { title: string; content: string; id?: string | undefined; materialType?: string | undefined; variableName?: string | undefined; variableKey?: string | undefined; } | null; selectSubItem: (item: SubMenuItem) => void; resetMenu: () => void; currentAi: import('vue').Ref; loading: import('vue').Ref; send: (text: string) => Promise; clear: () => void; dispose: () => void; login: () => Promise; fetchSubMenu: () => Promise; materialTaskId: import('vue').Ref; }; export {};