import React from 'react'; export type DialogResult = 'Ok' | 'Cancel'; declare const Dialog: React.FC<{ top?: string; bottom?: string; left?: string; right?: string; height?: string; width?: string; title: string; buttons: DialogResult[]; onResult: (result: DialogResult) => void; children: any; }>; export declare function showDialog(title: string, buttons: DialogResult[], onClose: (result: DialogResult) => void, children: any, top?: string, bottom?: string, left?: string, right?: string, height?: string, width?: string): React.JSX.Element; export declare function showDialog2(title: string, buttons: DialogResult[], children: any, onResult: (dr: DialogResult) => void, top?: string, bottom?: string, left?: string, right?: string, height?: string, width?: string): void; export default Dialog;