import * as React from 'react'; import ScrollLock from '../feedback/scroll-lock'; declare type Action = { text: string; onClick: () => void; primary?: boolean; }; declare type Props = { title?: string; isConfirm?: boolean; onClose?: () => void; onResolve?: () => void; actions?: Array; overlay?: any; children: React.ReactNode; CustomScrollLock?: any; }; declare class Dialog extends React.Component { static defaultProps: { isConfirm: boolean; CustomScrollLock: typeof ScrollLock; }; renderActionButtons: () => JSX.Element; render(): JSX.Element; } export default Dialog;