interface IConfirmProp { type?: "info" | "warn" | "error"; title?: string; content?: string; cancelText?: string; confirmText?: string; confirmColor?: "info" | "warn" | "error"; isNew?: boolean; isForm?: boolean; onCancel?: () => void; onConfirm?: () => void; } declare const useConfirm: () => { showConfirm: (props: IConfirmProp) => void; }; export default useConfirm;