import { EditorProperties, Infer } from "@iplusplus/y-model"; import { ConfirmInfo, MessageInfo, UserInputValueInfo } from "./types"; export type GetUserDataFunction = (title: string, props: T, initialData?: Infer) => Promise | undefined>; export type GetUserInputValueFunction = (info: UserInputValueInfo) => Promise; export type GetUserConfirmFunction = (info: ConfirmInfo) => Promise; export declare const userInteractionInternals: { getUserDataFromDialog: undefined | GetUserDataFunction; showMessage: undefined | ((info: MessageInfo) => void); getUserInputValue: undefined | GetUserInputValueFunction; getUserConfirm: undefined | GetUserConfirmFunction; }; export declare const userInteractions: { getUserDataFromDialog: GetUserDataFunction; showMessage: (info: MessageInfo | string) => void; showErrorMessage: (msg: string) => void; getUserInputValue: (info: UserInputValueInfo | string) => Promise; getUserConfirm: (info: ConfirmInfo | string) => Promise; };