import { ExtractPublicPropTypes } from "../../_utils/naive/extract-public-props.js"; import { Mutable } from "../../_utils/naive/mutable.js"; import "../../_utils/index.js"; import { exposedDialogEnvProps } from "./DialogEnvironment.js"; import { CSSProperties, ExtractPropTypes, PropType, Ref } from "vue"; //#region src/dialog/src/DialogProvider.d.ts type ExposedDialogEnvPropTypes = ExtractPropTypes; interface DialogOptions extends Mutable, 'internalStyle'> & { class?: any; style?: string | CSSProperties; }> {} interface DialogReactive extends DialogOptions { readonly key: string; readonly destroy: () => void; } interface TypeSafeDialogReactive extends DialogReactive { class?: any; style?: any; } interface DialogApiInjection { destroyAll: () => void; create: (options: DialogOptions) => DialogReactive; success: (options: DialogOptions) => DialogReactive; warning: (options: DialogOptions) => DialogReactive; error: (options: DialogOptions) => DialogReactive; info: (options: DialogOptions) => DialogReactive; } interface DialogProviderInjection { clickedRef: Ref; clickedPositionRef: Ref<{ x: number; y: number; } | null>; } type DialogReactiveListInjection = Ref; interface DialogInst { hide: () => void; } type DialogProviderInst = DialogApiInjection; declare const dialogProviderProps: { injectionKey: StringConstructor; to: PropType; }; type DialogProviderProps = ExtractPublicPropTypes; interface DialogProviderSetup extends DialogApiInjection { dialogList: Ref; dialogInstRefs: Record; handleAfterLeave: (key: string) => void; } declare const NDialogProvider: import("vue").DefineComponent; }>, DialogProviderSetup, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { DialogApiInjection, DialogOptions, DialogProviderInjection, DialogProviderInst, DialogProviderProps, DialogReactive, DialogReactiveListInjection, NDialogProvider, dialogProviderProps };