import React from 'react';
import type { CenteredDialogProps } from '../dialog';
import type { AlertDialogProps } from './types';
type CenteredDialogComponent = React.ComponentType<CenteredDialogProps>;
/**
 * Build the `AlertDialog` component bound to a platform `CenteredDialog`.
 *
 * `CenteredDialog` is platform-forked (native RN `Modal` vs pure-DOM web
 * overlay), and this repo never relies on implicit `.web` resolution — the
 * platform entry files (`index.ts` / `index.web.ts`) inject the correct
 * `CenteredDialog` here. The body below is single-source, no duplication.
 *
 * `AlertDialog` is a thin wrapper over `CenteredDialog` that lays out a title,
 * description and a confirm/cancel action row. Reach for the imperative
 * `confirm()` helper + `<AlertDialogHost />` to trigger a confirm from an
 * event handler without owning visible state.
 */
export declare function createAlertDialog(CenteredDialog: CenteredDialogComponent): React.MemoExoticComponent<({ visible, onClose, title, description, confirmLabel, cancelLabel, onConfirm, onCancel, destructive, hideCancel, dismissible, cardStyle, testID, }: AlertDialogProps) => import("react/jsx-runtime").JSX.Element>;
export type AlertDialogType = ReturnType<typeof createAlertDialog>;
export {};
//# sourceMappingURL=AlertDialog.d.ts.map