import { CurrentPersonResource, MessageResource } from '../../types'; import { DenormalizedAttachmentResourceForCreate } from '../../types/resources/denormalized_attachment_resource_for_create'; export declare function optimisticallyCreateMessage({ conversationId, text, attachments, currentPerson, message, replyRootId, idempotentKey, }: { conversationId: number; text: string; attachments?: DenormalizedAttachmentResourceForCreate[]; currentPerson: CurrentPersonResource; message?: MessageResource; replyRootId?: string | null; idempotentKey?: string; }): MessageResource; //# sourceMappingURL=optimistically_create_message.d.ts.map