import { type LegalContractRecord } from "../index.js"; export interface ContractSendDialogProps { open: boolean; onOpenChange: (open: boolean) => void; contract: LegalContractRecord; /** * Recipient email — typically the linked person's primary email, resolved * by the caller (the operator starter knows how to look it up via CRM). * The dialog uses this as the read-only "To" line; if absent the dialog * shows a warning and disables Send. */ defaultRecipientEmail?: string | null; /** Optional override for the prefilled subject. */ defaultSubject?: string; /** Optional override for the prefilled message body. */ defaultMessage?: string; /** * Optional list of attachment names that will accompany the email. The * dialog renders them as a paperclip-prefixed list so the operator sees * what's bundled (the contract PDF + any extras). */ attachments?: ReadonlyArray<{ id: string; name: string; }>; onSent?: () => void; } /** * Send-contract preview dialog. Renders an editable subject + message * over a read-only recipient line, so the operator can tweak the * customer-facing copy before flipping the contract to `sent`. The * actual `POST /:id/send` accepts the subject + message + recipient * overrides and forwards them on the lifecycle event for whichever * notification subscriber wires up email delivery downstream. */ export declare function ContractSendDialog({ open, onOpenChange, contract, defaultRecipientEmail, defaultSubject, defaultMessage, attachments, onSent, }: ContractSendDialogProps): import("react").JSX.Element;