import { ReactNode } from "react"; //#region src/review/review-decision-actions.d.ts /** * Where a reviewable item stands. Undecided items offer accept/reject; * decided ones offer the way back (revert the applied change, or reopen the * decision). `applying` is undecided but in flight: the same pair, inert, * so the row does not resize while the write lands. */ export type ReviewDecisionState = "pending" | "accepted" | "rejected" | "dismissed" | "applying"; export type ReviewDecisionSize = "xs" | "sm"; type ReviewDecisionActionsProps = { state: ReviewDecisionState; onAccept?: (() => void) | undefined; onReject?: (() => void) | undefined; onRevert?: (() => void) | undefined; onReopen?: (() => void) | undefined; size?: ReviewDecisionSize; /** Labels are supplied by the host: this package carries no catalogs. */ acceptLabel?: ReactNode; rejectLabel?: ReactNode; revertLabel?: ReactNode; /** Accessible name for the icon-only reopen control. */ reopenLabel?: string | undefined; acceptTooltip?: ReactNode; rejectTooltip?: ReactNode; disabled?: boolean; className?: string; }; /** Accept / reject / revert / reopen, in one shape, for every review surface. */ export declare const ReviewDecisionActions: ({ state, onAccept, onReject, onRevert, onReopen, size, acceptLabel, rejectLabel, revertLabel, reopenLabel, acceptTooltip, rejectTooltip, disabled, className }: ReviewDecisionActionsProps) => import("react").JSX.Element | null; //#endregion