import { type AgentMessage } from '@/types/models/agent-chat-message'; export { type AgentMessage } from '@/types/models/agent-chat-message'; export declare function useAgent(): { messages: AgentMessage[]; composerText: string; setComposerText: import("react").Dispatch>; isLoading: boolean; isAssistantStreaming: boolean; error: string | null; sendMessage: (text: string, options?: { showUserBubble?: boolean; userBubbleText?: string; cancellable?: boolean; }) => Promise; sendInitialMessage: () => Promise; resetChat: () => void; cancelAgentOperation: () => void; canCancelBusyTurn: boolean; agentDisplayName: string; canSend: boolean; streamingMessageId: string | null; chatPopupOpen: boolean; chatPopupMessage: AgentMessage | undefined; closeChatPopup: () => void; };