import type { Ref, PropType, VNode, HTMLAttributes, ExtractPropTypes, Plugin, CSSProperties, InjectionKey } from 'vue';
import type { Breakpoint } from '../_util/responsiveObserve';
import type { CustomSlotsType, VueNode } from '../_util/type';
export type DescriptionsSemanticName = 'root' | 'header' | 'title' | 'extra' | 'label' | 'content';
export type DescriptionsClassNamesType = Partial>;
export type DescriptionsStylesType = Partial>;
export declare const DescriptionsItemProps: {
prefixCls: StringConstructor;
label: import("vue-types").VueTypeValidableDef;
span: NumberConstructor;
};
declare const descriptionsItemProp: () => {
prefixCls: StringConstructor;
label: import("vue-types").VueTypeValidableDef;
labelStyle: {
type: PropType;
default: CSSProperties;
};
contentStyle: {
type: PropType;
default: CSSProperties;
};
span: {
type: NumberConstructor;
default: number;
};
};
export type DescriptionsItemProp = Partial>>;
/** Item config for `items` prop (antd ≥ 5.8). */
export type DescriptionsItemType = {
key?: string | number;
label?: VueNode;
children?: VueNode;
span?: number;
labelStyle?: CSSProperties;
contentStyle?: CSSProperties;
};
export declare const DescriptionsItem: import("vue").DefineComponent;
labelStyle: {
type: PropType;
default: CSSProperties;
};
contentStyle: {
type: PropType;
default: CSSProperties;
};
span: {
type: NumberConstructor;
default: number;
};
}>, () => VNode[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly;
labelStyle: {
type: PropType;
default: CSSProperties;
};
contentStyle: {
type: PropType;
default: CSSProperties;
};
span: {
type: NumberConstructor;
default: number;
};
}>> & Readonly<{}>, {
span: number;
labelStyle: CSSProperties;
contentStyle: CSSProperties;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export declare const descriptionsProps: () => {
prefixCls: StringConstructor;
bordered: {
type: BooleanConstructor;
default: any;
};
size: {
type: PropType<"default" | "small" | "middle">;
default: string;
};
title: import("vue-types").VueTypeValidableDef;
extra: import("vue-types").VueTypeValidableDef;
column: {
type: PropType>>;
default: () => number | Partial>;
};
layout: PropType<"vertical" | "horizontal">;
colon: {
type: BooleanConstructor;
default: any;
};
/** @deprecated Please use `styles.label` instead */
labelStyle: {
type: PropType;
default: CSSProperties;
};
/** @deprecated Please use `styles.content` instead */
contentStyle: {
type: PropType;
default: CSSProperties;
};
/** Describe list items (antd ≥ 5.8). Prefer over nested `Descriptions.Item`. */
items: {
type: PropType;
default: DescriptionsItemType[];
};
/** Semantic structure className (antd ≥ 5.23). */
classNames: {
type: PropType>>;
default: Partial>;
};
/** Semantic structure style (antd ≥ 5.23). */
styles: {
type: PropType>>;
default: Partial>;
};
};
export type DescriptionsProps = HTMLAttributes & Partial>>;
export interface DescriptionsContextProp {
labelStyle?: Ref;
contentStyle?: Ref;
labelClassName?: Ref;
contentClassName?: Ref;
}
export declare const descriptionsContext: InjectionKey;
declare const _default: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins;
default: string;
};
title: import("vue-types").VueTypeValidableDef;
extra: import("vue-types").VueTypeValidableDef;
column: {
type: PropType>>;
default: () => number | Partial>;
};
layout: PropType<"vertical" | "horizontal">;
colon: {
type: BooleanConstructor;
default: any;
};
/** @deprecated Please use `styles.label` instead */
labelStyle: {
type: PropType;
default: CSSProperties;
};
/** @deprecated Please use `styles.content` instead */
contentStyle: {
type: PropType;
default: CSSProperties;
};
/** Describe list items (antd ≥ 5.8). Prefer over nested `Descriptions.Item`. */
items: {
type: PropType;
default: DescriptionsItemType[];
};
/** Semantic structure className (antd ≥ 5.23). */
classNames: {
type: PropType>>;
default: Partial>;
};
/** Semantic structure style (antd ≥ 5.23). */
styles: {
type: PropType>>;
default: Partial>;
};
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
size: "default" | "small" | "middle";
column: number | Partial>;
classNames: Partial>;
styles: Partial>;
items: DescriptionsItemType[];
bordered: boolean;
colon: boolean;
labelStyle: CSSProperties;
contentStyle: CSSProperties;
}, true, {}, CustomSlotsType<{
title?: any;
extra?: any;
default?: any;
}>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly;
default: string;
};
title: import("vue-types").VueTypeValidableDef;
extra: import("vue-types").VueTypeValidableDef;
column: {
type: PropType>>;
default: () => number | Partial>;
};
layout: PropType<"vertical" | "horizontal">;
colon: {
type: BooleanConstructor;
default: any;
};
/** @deprecated Please use `styles.label` instead */
labelStyle: {
type: PropType;
default: CSSProperties;
};
/** @deprecated Please use `styles.content` instead */
contentStyle: {
type: PropType;
default: CSSProperties;
};
/** Describe list items (antd ≥ 5.8). Prefer over nested `Descriptions.Item`. */
items: {
type: PropType;
default: DescriptionsItemType[];
};
/** Semantic structure className (antd ≥ 5.23). */
classNames: {
type: PropType>>;
default: Partial>;
};
/** Semantic structure style (antd ≥ 5.23). */
styles: {
type: PropType>>;
default: Partial>;
};
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
size: "default" | "small" | "middle";
column: number | Partial>;
classNames: Partial>;
styles: Partial>;
items: DescriptionsItemType[];
bordered: boolean;
colon: boolean;
labelStyle: CSSProperties;
contentStyle: CSSProperties;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase;
default: string;
};
title: import("vue-types").VueTypeValidableDef;
extra: import("vue-types").VueTypeValidableDef;
column: {
type: PropType>>;
default: () => number | Partial>;
};
layout: PropType<"vertical" | "horizontal">;
colon: {
type: BooleanConstructor;
default: any;
};
/** @deprecated Please use `styles.label` instead */
labelStyle: {
type: PropType;
default: CSSProperties;
};
/** @deprecated Please use `styles.content` instead */
contentStyle: {
type: PropType;
default: CSSProperties;
};
/** Describe list items (antd ≥ 5.8). Prefer over nested `Descriptions.Item`. */
items: {
type: PropType;
default: DescriptionsItemType[];
};
/** Semantic structure className (antd ≥ 5.23). */
classNames: {
type: PropType>>;
default: Partial>;
};
/** Semantic structure style (antd ≥ 5.23). */
styles: {
type: PropType>>;
default: Partial>;
};
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
size: "default" | "small" | "middle";
column: number | Partial>;
classNames: Partial>;
styles: Partial>;
items: DescriptionsItemType[];
bordered: boolean;
colon: boolean;
labelStyle: CSSProperties;
contentStyle: CSSProperties;
}, {}, string, CustomSlotsType<{
title?: any;
extra?: any;
default?: any;
}>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin & {
readonly Item: typeof DescriptionsItem;
};
export default _default;