import React from 'react'; import { ButtonProps } from '../Button'; import { BaseDialogProps } from './BaseDialog/BaseDialog.types'; declare type DialogButtonProps = Omit; export declare enum DialogSize { small = "small", medium = "medium" } export interface DialogProps extends BaseDialogProps { /** * Props for the cancel button */ cancelButtonProps?: DialogButtonProps; /** * Props for the ok button */ okButtonProps?: DialogButtonProps; /** * The heading level for the dialog header * default 1 */ headingLevel?: number; /** * Callback when cancel button is clicked */ onCancel?: React.MouseEventHandler; /** * Callback when ok button is clicked */ onOk?: React.MouseEventHandler; /** * Size of the dialog * @default medium */ size?: DialogSize; } export {};