import type { JSX } from 'solid-js'; import type { DisclosureStateControlledOptions, DisclosureStateRenderProps, DisclosureStateUncontrolledOptions } from '../../states/create-disclosure-state'; import type { UnmountableProps } from '../../utils/create-unmountable'; import type { HeadlessProps, ValidConstructor } from '../../utils/dynamic-prop'; import type { Prettify } from '../../utils/types'; export type AlertDialogControlledBaseProps = Prettify; export type AlertDialogControlledProps = HeadlessProps; export type AlertDialogUncontrolledBaseProps = Prettify; export type AlertDialogUncontrolledProps = HeadlessProps; export type AlertDialogProps = AlertDialogControlledProps | AlertDialogUncontrolledProps; /** * A modal that interrupts the user to confirm an action. Same behaviour as * `Dialog`, but with `role="alertdialog"`, so it is announced immediately. Use * it only for messages that require a response. * * Renders a `
` by default. * * @see {@link https://github.com/lxsmnsyc/terracotta/blob/main/docs/components/alert-dialog.md} */ export declare function AlertDialog(props: AlertDialogProps): JSX.Element; //# sourceMappingURL=AlertDialog.d.ts.map