import { PropsWithChildren, ReactNode } from "react"; import Modal, { modal } from "./modal/Modal"; type Modal = (modal: modal) => any; declare function TriggerModal({ children, button, onClick, content, className, title, full, footer, }: PropsWithChildren<{ button: string; onClick?: (modal: modal) => any; content: ReactNode | Modal; title: string; className?: string; full?: boolean; footer?: boolean; }>): JSX.Element; export default TriggerModal;