import { ManagedDialogDefine } from "./types"; type ArgOf = F extends (arg: infer A) => any ? A : never; type WithoutCancel = Omit; type TransShowParam any>> = { [K in keyof T]: { type: K; props: WithoutCancel>; }; }[keyof T]; type TransCloseParam any>> = keyof T; type UserInterface any>> = { showDialog: (info: TransShowParam) => void; closeDialog: (dialogType: TransCloseParam) => void; }; type ShowDialogFunction = (info: { type: string; props: Object; }) => void; type CloseDialogFunction = (type: string) => void; type InitDialogDefine = (define: ManagedDialogDefine) => void; export declare const dialogManagerInternal: { showDialog: undefined | ShowDialogFunction; closeDialog: undefined | CloseDialogFunction; dialogDefine: undefined | ManagedDialogDefine; initDialogDefine: undefined | InitDialogDefine; }; export declare function initDialogManager(dialogDefine: T): UserInterface; export {};