import type { ModalFuncProps } from './Modal'; export default function confirm(config: ModalFuncProps): { destroy: (this: any, ...args: any[]) => void; update: (newConfig: ModalFuncProps) => void; };