import type { CSSProperties, ComputedRef, InjectionKey } from "vue"; import type { XyDescriptionsItemSpan, XyDescriptionsLayout, XyDescriptionsSize } from "./types"; export interface XyDescriptionsContext { bordered: ComputedRef; colon: ComputedRef; column: ComputedRef; contentClassName: ComputedRef; contentStyle: ComputedRef; itemClassName: ComputedRef; itemStyle: ComputedRef; labelClassName: ComputedRef; labelStyle: ComputedRef; layout: ComputedRef; registerItem: (item: XyDescriptionsItemRegistration) => () => void; resolveItemLayout: (id: symbol, span: XyDescriptionsItemSpan) => XyDescriptionsItemLayout; resolveItemSpan: (id: symbol, span: XyDescriptionsItemSpan) => number; size: ComputedRef; } export interface XyDescriptionsItemLayout { isLastColumn: boolean; isLastRow: boolean; span: number; } export interface XyDescriptionsItemRegistration { id: symbol; span: ComputedRef; } export declare const xyDescriptionsContextKey: InjectionKey;