import { ComponentProps, FC, PropsWithChildren } from 'react'; import type { FlowbiteBoolean, FlowbitePositions, FlowbiteSizes } from '../Flowbite/FlowbiteTheme'; export interface FlowbiteModalTheme { base: string; show: FlowbiteBoolean; content: { base: string; inner: string; }; body: { base: string; popup: string; }; header: { base: string; popup: string; title: string; close: { base: string; icon: string; }; }; footer: { base: string; popup: string; }; sizes: ModalSizes; positions: ModalPositions; } export interface ModalPositions extends FlowbitePositions { [key: string]: string; } export interface ModalSizes extends Omit { [key: string]: string; } export interface ModalProps extends PropsWithChildren> { onClose?: () => void; position?: keyof ModalPositions; popup?: boolean; root?: HTMLElement; show?: boolean; size?: keyof ModalSizes; } export declare const Modal: FC & { Header: FC; Body: FC; Footer: FC; };