import { IDialogProps } from "./Dialog"; declare type ActionItem = { text?: string; onClick?: () => void; className?: string; styleType?: "primary" | "minor" | "ghost" | "font" | "icon" | ""; autoClose?: boolean; }; declare type IConfrimmProps = IDialogProps & { actions?: ActionItem[]; }; declare const confirm: ({ actions, ...restProps }: IConfrimmProps) => { close: () => void; }; export default confirm;