/*! * Copyright (c) 2026 Interop Alliance. All rights reserved. */ /** * The confirmation-dialog frame the library's three dialogs (adopt, clear data, * logout) share: a MUI `Dialog` carrying a `-dialog` test id, a title, a * one-paragraph body, and an actions row that always opens with a Cancel button * (`-cancel`) wired to `onClose`. Each dialog supplies its own confirm * buttons after it. * * Internal to `src/mui/` -- deliberately NOT exported from the `./mui` entry * point, so it stays a refactoring detail rather than public API. */ import type { ReactNode } from 'react'; /** * @param props {object} * @param props.testId {string} test-id stem: the dialog gets * `-dialog`, the Cancel button `-cancel` * @param props.title {string} the dialog title * @param props.body {ReactNode} the body copy, rendered in a * `DialogContentText` * @param props.actions {ReactNode} the confirm buttons, rendered after Cancel * @param props.open {boolean} whether the dialog is shown * @param props.onClose {() => void} dismiss/cancel handler * @returns {ReactNode} */ export declare function ConfirmDialog({ testId, title, body, actions, open, onClose }: { testId: string; title: string; body: ReactNode; actions: ReactNode; open: boolean; onClose: () => void; }): import("react").JSX.Element; //# sourceMappingURL=ConfirmDialog.d.ts.map