import * as React from 'react';
import type { BaseUIComponentProps } from '../../utils/types.js';
import type { TransitionStatus } from '../../utils/useTransitionStatus.js';
import { InteractionType } from '../../utils/useEnhancedClickHandler.js';
/**
* A container for the alert dialog contents.
* Renders a `
` element.
*
* Documentation: [Base UI Alert Dialog](https://base-ui.com/react/components/alert-dialog)
*/
declare const AlertDialogPopup: React.ForwardRefExoticComponent
>;
declare namespace AlertDialogPopup {
interface Props extends BaseUIComponentProps<'div', State> {
/**
* Determines the element to focus when the dialog is opened.
* By default, the first focusable element is focused.
*/
initialFocus?: React.RefObject | ((interactionType: InteractionType) => React.RefObject);
/**
* Determines the element to focus when the dialog is closed.
* By default, focus returns to the trigger.
*/
finalFocus?: React.RefObject;
}
interface State {
/**
* Whether the dialog is currently open.
*/
open: boolean;
transitionStatus: TransitionStatus;
/**
* Whether the dialog is nested within a parent dialog.
*/
nested: boolean;
/**
* Whether the dialog has nested dialogs open.
*/
hasNestedDialogs: boolean;
}
}
export { AlertDialogPopup };