declare const NAMED_MODAL_SIZES: readonly ["small", "medium", "large", "xlarge", "max", "fullscreen", "resizable"]; type NamedModalSize = (typeof NAMED_MODAL_SIZES)[number]; type CustomModalSize = { width: string; height?: string; }; export type ModalSizes = NamedModalSize | CustomModalSize; export interface ModalOptions { resource?: string | null; onClose?: (payload: any) => any; size?: ModalSizes; context?: any; closeOnEscape?: boolean; closeOnOverlayClick?: boolean; title?: string; icon?: string; } export declare class Modal { resource: string | null; onClose: NonNullable; size: ModalSizes; context: any; closeOnEscape: boolean; closeOnOverlayClick: boolean; title: string; icon: string; constructor(opts?: ModalOptions); open(): Promise; } export {}; //# sourceMappingURL=modal.d.ts.map