import { ApolloClient } from '@apollo/client'; import { PendingUploadAttachment } from './types'; import { PageConversationContext } from '../../providers/shell'; interface UseSendMessageArgs { client: ApolloClient; workspaceId: string | null | undefined; onError: (message: string) => void; } interface SendMessageInput { resolvedContext: PageConversationContext & { widgetKey: string; threadKey: string; }; conversationThreadKey: string | null; text: string; parentMessageId?: string; mentionUserIds: string[]; attachments: PendingUploadAttachment[]; } export declare function useSendMessage({ client, workspaceId, onError }: UseSendMessageArgs): { isSending: boolean; send: (input: SendMessageInput) => Promise; }; export {}; //# sourceMappingURL=useSendMessage.d.ts.map