///
export type { ModalHocProps } from "./types";
export { useModal } from "./useModal";
export type modalPersetName = "actionSheet" | "confirm" | "sheet";
export declare const modalPerset: Record;
export declare const modal: {
actionSheet: (items: import("../sheet").ActionSheetItem[]) => Promise;
confirm: (props: import("./preset/confirm").ConfirmProps) => Promise;
alert: (props: import("./preset/alert").AlertDialogProps) => Promise;
sheet: (props: import("./preset/sheet").SheetProps) => Promise;
dialog: (props: import("./preset/dialog").DialogProps) => Promise;
show: {
(modal: import("react").FC, args?: Omit | undefined): Promise;
(modal: string, args?: Record | undefined): Promise;
(modal: string, args?: P | undefined): Promise;
};
hide: (modal: string | import("react").FC) => Promise;
remove: (id: string) => void;
setStates: (id: string, states: Record) => void;
register: >(id: string, comp: T_4, props?: Partial> | undefined) => void;
unregister: (id: string) => void;
};
//# sourceMappingURL=index.d.ts.map