import * as React from 'react'; import '@vtmn/css-modal/dist/index-with-vars.css'; export interface VtmnModalProps extends React.ComponentPropsWithoutRef<'div'> { /** * Whether to open the modal or not * @type {boolean} * @default false */ open?: boolean; /** * Called when user action should close the modal * @type {void} * @default undefined */ onClose?: () => void; } export declare const VtmnModal: ({ open, onClose, children, className, ...props }: VtmnModalProps) => JSX.Element | null; export interface VtmnModalTitleProps extends React.ComponentPropsWithoutRef<'div'> { /** * Called when user action should close the modal * @type {void} * @default undefined */ onClose?: () => void; } export declare const VtmnModalTitle: ({ onClose, children, className, ...props }: VtmnModalTitleProps) => JSX.Element; export declare const VtmnModalDescription: ({ children, className, ...props }: React.ComponentPropsWithoutRef<'div'>) => JSX.Element; export declare const VtmnModalActions: ({ children, className, ...props }: React.ComponentPropsWithoutRef<'div'>) => JSX.Element; declare const MemoVtmnModal: React.MemoExoticComponent<({ open, onClose, children, className, ...props }: VtmnModalProps) => JSX.Element | null>; export default MemoVtmnModal;