import React from "react";
import { ModalSize } from "./types";
export interface ModalCompositionProps {
    children: React.ReactNode;
    className?: string;
}
export declare const ModalToolbar: React.FC<ModalCompositionProps>;
export declare const ModalContent: React.FC<ModalCompositionProps & {
    scrollable?: boolean;
}>;
export declare const ModalFooter: React.FC<ModalCompositionProps>;
type ToolbarElement = React.ReactElement<ModalCompositionProps, typeof ModalToolbar>;
type ContentElement = React.ReactElement<ModalCompositionProps, typeof ModalContent>;
type FooterElement = React.ReactElement<ModalCompositionProps, typeof ModalFooter>;
type ModalChildren = [
    ToolbarElement,
    ContentElement,
    FooterElement
] | [ToolbarElement, ContentElement] | [ContentElement, FooterElement] | ContentElement;
export interface ModalProps {
    /** Открыто ли модальное окно */
    isOpen?: boolean;
    /** Заголовок */
    title?: string;
    /** Размер модального окна */
    size?: keyof typeof ModalSize;
    height?: string;
    /** Обработчик закрытия */
    onClose: () => void;
    children: ModalChildren;
}
export declare const Modal: React.FC<ModalProps>;
export {};
//# sourceMappingURL=Modal.d.ts.map