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