import { default as React, ReactNode } from 'react';
export type ModalProps = {
    ["data-testid"]?: string;
    children: ReactNode;
    /**
     * Event handler called when the open state of the dialog changes.
     * */
    onOpenChange?: (value: boolean) => void;
    /**
     * The controlled open state of the dialog. Must be used in conjunction with `onOpenChange`.
     * */
    open?: boolean;
};
export declare const Modal: {
    ({ ["data-testid"]: dataTestId, children, open, onOpenChange, }: ModalProps): React.JSX.Element;
    Trigger: React.ForwardRefExoticComponent<Omit<import('./modal-trigger').ModalTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
    Content: React.ForwardRefExoticComponent<(Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
        [key: `data-${string}`]: string | undefined;
    }, "children"> & {
        actions?: ReactNode;
        children: ReactNode;
        description?: string;
        disableCloseOnClickOutside?: boolean;
        hideDescription?: boolean;
        image?: ReactNode;
        notification?: ReactNode;
        stickyButtons?: boolean;
        title: string;
        zIndex?: number;
        onCloseAutoFocus?: (e: Event) => void;
    } & {
        closeButtonAriaLabel?: never;
        showCloseButton?: false;
    }, "ref"> | Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
        [key: `data-${string}`]: string | undefined;
    }, "children"> & {
        actions?: ReactNode;
        children: ReactNode;
        description?: string;
        disableCloseOnClickOutside?: boolean;
        hideDescription?: boolean;
        image?: ReactNode;
        notification?: ReactNode;
        stickyButtons?: boolean;
        title: string;
        zIndex?: number;
        onCloseAutoFocus?: (e: Event) => void;
    } & {
        closeButtonAriaLabel: string;
        showCloseButton: true;
    }, "ref">) & React.RefAttributes<HTMLDivElement>>;
    displayName: string;
};
//# sourceMappingURL=modal.d.ts.map