import React, { FunctionComponent, ReactNode } from "react"; import { alignActionsType } from "../../Modal"; export interface ModalSmallProps { title: string; onClose: () => void; invert?: boolean; showActionPanel?: boolean; onCloseText?: string; onConfirm?: React.ReactNode; onConfirmText?: string; overflowVisible?: boolean; fitToContentHeight?: boolean; alignActions?: alignActionsType; desktopWidth?: string; children: ReactNode; disableHeader: boolean; } /** * @component Renders a small modal component with customizable content and actions. * * - The props object containing the following properties: * @prop {string} title: The title of the modal. * @prop {() => void} onClose: A function to be called when the modal is closed. * @prop {boolean} invert: A boolean indicating whether to invert the modal colors. Defaults to false. * @prop {boolean} showActionPanel: A boolean indicating whether to show the modal actions panel. Defaults to true. * @prop {string} onCloseText: The text to be displayed in the close button. Defaults to "Close". * @prop {React.ReactNode} onConfirm: A React node to be rendered as the confirm button. Defaults to none. * @prop {string} onConfirmText: The text to be displayed in the confirm button. Defaults to "Confirm". * @prop {boolean} overflowVisible: A boolean indicating whether to override the overflow: hidden styling on the modal. Defaults to true. * @prop {boolean} fitToContentHeight: A boolean indicating whether to fit the modal to the content height. Defaults to true. * @prop {alignActionsType} alignActions: A string indicating how the modal actions buttons should be aligned. Defaults to "right". * @prop {string} desktopWidth: A string indicating the width of the modal on desktop views. Defaults to "50vw". * @prop {React.ReactNode} children: The content to be rendered inside the modal. * @prop {boolean} disableHeader: Disable the modal header * @return {ReactElement} The rendered modal component. */ export declare const ModalSmall: FunctionComponent;