import type { ApprovalAnswerHandler } from '../../core/config.js'; import type { ApprovalAnswerValue } from '../../types.js'; /** Sends an approval's answer, and names the control whose answer is still on its way: a host * that returns a promise from its handler has not taken the answer until the promise settles, * which over a slow connection is long enough to press the button again. */ export declare function useAnswerSending(id: string, onAnswer: ApprovalAnswerHandler | undefined): { sending: Control | null; answer: (control: Control, value: ApprovalAnswerValue) => void; }; /** Marks the button whose answer is on its way; its label says which answer. */ export declare function SendingMark(): import("react").JSX.Element;