import { Func, VoidFunc } from "../../../fd-toolbox/functions/internal-getter-setter-functions";
import { ReactElement } from "react";
import { HTMLProps } from "@base-ui/react";
/**
 * Props of {@link YesOrNoDialog}
 */
export interface YesOrNoDialogProps {
    /** Title of the dialog */
    title: string;
    /** Trigger element to open the dialog */
    trigger?: ReactElement<HTMLProps>;
    /** Event handler called when the user responds */
    onResponse?: Func<boolean, void>;
    /** Additional CSS class for the dialog */
    className?: string;
    /** Event handler called when the close button is clicked */
    onCloseClick?: VoidFunc<boolean>;
    /** Whether to show the No button */
    showNoButton?: boolean;
    /** Whether to render the trigger as a child element */
    asTriggerChild?: boolean;
    /** Additional CSS class for the trigger */
    triggerClassName?: string;
    /** Whether the trigger is disabled */
    disabled?: boolean;
}
/**
 * Confirmation dialog with Yes/No or OK buttons
 *
 * @param props - {@link YesOrNoDialogProps}
 *
 * @example
 * ```tsx
 *  <YesOrNoDialog title="Confirm deletion" onResponse={...} onCloseClick={...} trigger={...}/>
 * ```
 */
export declare function YesOrNoDialog({ title, className, trigger, asTriggerChild, onResponse, onCloseClick, showNoButton, triggerClassName, disabled, }: YesOrNoDialogProps): import("react").JSX.Element;
