import type { CSSProperties, ComputedRef, InjectionKey, Ref } from 'vue' import type { useNamespace } from '@element-plus/hooks' export type DialogContext = { dialogRef: Ref headerRef: Ref bodyId: Ref ns: ReturnType rendered: Ref style: ComputedRef } export const dialogInjectionKey: InjectionKey = Symbol('dialogInjectionKey')