import React from 'react'; export interface DialogProps extends React.HTMLAttributes { children: React.ReactNode; className?: string; show?: boolean; dialogRef?: React.Ref; onClose?: () => void; forceAction?: boolean; heading?: string | React.ReactElement | { text: React.ReactElement | string; level: number | undefined; }; closeButtonText?: string; portal?: React.RefObject | HTMLElement; } declare const Dialog: React.ForwardRefExoticComponent>; export default Dialog; interface DialogAlignmentProps { align?: 'left' | 'center' | 'right'; } export type DialogContentProps = React.HTMLAttributes & DialogAlignmentProps & { className?: string; }; declare const DialogContent: { ({ children, className, align, ...other }: DialogContentProps): React.JSX.Element; displayName: string; }; export type DialogFooterProps = React.HTMLAttributes & DialogAlignmentProps & { className?: string; }; declare const DialogFooter: { ({ children, className, align, ...other }: DialogFooterProps): React.JSX.Element; displayName: string; }; export type DialogHeaderProps = React.HTMLAttributes & { className?: string; }; declare const DialogHeader: { ({ children, className, ...other }: DialogHeaderProps): React.JSX.Element; displayName: string; }; export interface DialogHeadingProps extends React.HTMLAttributes { children: React.ReactNode; className?: string; level?: number; } declare const DialogHeading: { ({ children, className, level: levelProp, ...other }: DialogHeadingProps): React.JSX.Element; displayName: string; }; export interface DialogCloseButtonProps extends React.ButtonHTMLAttributes { children?: React.ReactNode; className?: string; } declare const DialogCloseButton: { ({ children, className, ...other }: DialogCloseButtonProps): React.JSX.Element | null; displayName: string; }; export { Dialog, DialogContent, DialogFooter, DialogHeader, DialogHeading, DialogCloseButton };