import type { MaybeRef, Plugin } from 'vue'; import defaultRenderEmpty from './renderEmpty'; import type { Locale } from '../locale-provider'; import type { ValidateMessages } from '../form/interface'; import type { ConfigProviderProps, Theme } from './context'; import { defaultIconPrefixCls } from './context'; import { useConfig } from './hooks/useConfig'; import type { HolderRenderType } from './holderStore'; import type { WarningConfig } from '../_util/warning'; export type { ConfigProviderProps, Theme, SizeType, Direction, CSPConfig, DirectionType, } from './context'; export type { HolderRenderType } from './holderStore'; export declare const defaultPrefixCls = "ant"; export { defaultIconPrefixCls }; declare function getGlobalIconPrefixCls(): string; export declare const globalConfigForApi: ConfigProviderProps & { getRootPrefixCls?: (rootPrefixCls?: string, customizePrefixCls?: string) => string; }; export declare const configConsumerProps: string[]; type GlobalConfigProviderProps = { prefixCls?: MaybeRef; iconPrefixCls?: MaybeRef; getPopupContainer?: ConfigProviderProps['getPopupContainer']; /** Wrap static Modal / Message / Notification trees (antd ≥ 5.13). */ holderRender?: HolderRenderType; /** Warning level (antd ≥ 5.10). */ warning?: WarningConfig; }; declare const setGlobalConfig: (params: GlobalConfigProviderProps & { theme?: Theme; }) => void; export declare const globalConfig: () => { getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string; getIconPrefixCls: typeof getGlobalIconPrefixCls; getRootPrefixCls: () => string; readonly holderRender: HolderRenderType; }; export { useConfig }; export type { UseConfigResult } from './hooks/useConfig'; declare const _default: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins Window | HTMLElement>; }; getPopupContainer: { type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>; }; prefixCls: StringConstructor; getPrefixCls: { type: import("vue").PropType<(suffixCls?: string, customizePrefixCls?: string) => string>; }; renderEmpty: { type: import("vue").PropType; }; transformCellText: { type: import("vue").PropType<(tableProps: import("../table/interface").TransformCellTextProps) => any>; }; csp: { type: import("vue").PropType; default: import("./context").CSPConfig; }; input: { type: import("vue").PropType<{ autocomplete?: string; }>; default: { autocomplete?: string; }; }; autoInsertSpaceInButton: { type: BooleanConstructor; default: any; }; locale: { type: import("vue").PropType; default: Locale; }; pageHeader: { type: import("vue").PropType<{ ghost?: boolean; }>; default: { ghost?: boolean; }; }; componentSize: { type: import("vue").PropType; }; componentDisabled: { type: BooleanConstructor; default: any; }; direction: { type: import("vue").PropType<"rtl" | "ltr">; default: string; }; space: { type: import("vue").PropType<{ size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }>; default: { size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }; }; alert: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }>; default: { className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }; }; breadcrumb: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }>; default: { className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }; }; card: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; empty: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; avatar: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; progress: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; virtual: { type: BooleanConstructor; default: any; }; dropdownMatchSelectWidth: { type: (BooleanConstructor | NumberConstructor)[]; default: any; }; popupMatchSelectWidth: { type: (BooleanConstructor | NumberConstructor)[]; default: any; }; form: { type: import("vue").PropType<{ validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }>; default: { validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }; }; pagination: { type: import("vue").PropType<{ showSizeChanger?: boolean; }>; default: { showSizeChanger?: boolean; }; }; transfer: { type: import("vue").PropType<{ selectionsIcon?: import("../_util/type").VueNode; }>; default: { selectionsIcon?: import("../_util/type").VueNode; }; }; button: { type: import("vue").PropType<{ color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }>; default: { color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }; }; theme: { type: import("vue").PropType; default: import("./context").ThemeConfig; }; select: { type: import("vue").PropType<{ showSearch?: boolean; }>; default: { showSearch?: boolean; }; }; wave: { type: import("vue").PropType<{ disabled?: boolean; }>; default: { disabled?: boolean; }; }; flex: { type: import("vue").PropType<{ vertical?: boolean; }>; default: { vertical?: boolean; }; }; warning: { type: import("vue").PropType<{ strict?: boolean; }>; default: { strict?: boolean; }; }; variant: { type: import("vue").PropType<"filled" | "outlined" | "borderless" | "underlined">; default: any; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, { button: { color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }; form: { validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }; input: { autocomplete?: string; }; progress: { className?: string; style?: import("vue").CSSProperties; }; select: { showSearch?: boolean; }; flex: { vertical?: boolean; }; csp: import("./context").CSPConfig; direction: "rtl" | "ltr"; space: { size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }; warning: { strict?: boolean; }; theme: import("./context").ThemeConfig; virtual: boolean; popupMatchSelectWidth: number | boolean; dropdownMatchSelectWidth: number | boolean; wave: { disabled?: boolean; }; locale: Locale; empty: { className?: string; style?: import("vue").CSSProperties; }; variant: "filled" | "outlined" | "borderless" | "underlined"; pagination: { showSizeChanger?: boolean; }; transfer: { selectionsIcon?: import("../_util/type").VueNode; }; autoInsertSpaceInButton: boolean; pageHeader: { ghost?: boolean; }; componentDisabled: boolean; alert: { className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }; breadcrumb: { className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }; card: { className?: string; style?: import("vue").CSSProperties; }; avatar: { className?: string; style?: import("vue").CSSProperties; }; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly Window | HTMLElement>; }; getPopupContainer: { type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>; }; prefixCls: StringConstructor; getPrefixCls: { type: import("vue").PropType<(suffixCls?: string, customizePrefixCls?: string) => string>; }; renderEmpty: { type: import("vue").PropType; }; transformCellText: { type: import("vue").PropType<(tableProps: import("../table/interface").TransformCellTextProps) => any>; }; csp: { type: import("vue").PropType; default: import("./context").CSPConfig; }; input: { type: import("vue").PropType<{ autocomplete?: string; }>; default: { autocomplete?: string; }; }; autoInsertSpaceInButton: { type: BooleanConstructor; default: any; }; locale: { type: import("vue").PropType; default: Locale; }; pageHeader: { type: import("vue").PropType<{ ghost?: boolean; }>; default: { ghost?: boolean; }; }; componentSize: { type: import("vue").PropType; }; componentDisabled: { type: BooleanConstructor; default: any; }; direction: { type: import("vue").PropType<"rtl" | "ltr">; default: string; }; space: { type: import("vue").PropType<{ size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }>; default: { size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }; }; alert: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }>; default: { className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }; }; breadcrumb: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }>; default: { className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }; }; card: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; empty: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; avatar: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; progress: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; virtual: { type: BooleanConstructor; default: any; }; dropdownMatchSelectWidth: { type: (BooleanConstructor | NumberConstructor)[]; default: any; }; popupMatchSelectWidth: { type: (BooleanConstructor | NumberConstructor)[]; default: any; }; form: { type: import("vue").PropType<{ validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }>; default: { validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }; }; pagination: { type: import("vue").PropType<{ showSizeChanger?: boolean; }>; default: { showSizeChanger?: boolean; }; }; transfer: { type: import("vue").PropType<{ selectionsIcon?: import("../_util/type").VueNode; }>; default: { selectionsIcon?: import("../_util/type").VueNode; }; }; button: { type: import("vue").PropType<{ color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }>; default: { color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }; }; theme: { type: import("vue").PropType; default: import("./context").ThemeConfig; }; select: { type: import("vue").PropType<{ showSearch?: boolean; }>; default: { showSearch?: boolean; }; }; wave: { type: import("vue").PropType<{ disabled?: boolean; }>; default: { disabled?: boolean; }; }; flex: { type: import("vue").PropType<{ vertical?: boolean; }>; default: { vertical?: boolean; }; }; warning: { type: import("vue").PropType<{ strict?: boolean; }>; default: { strict?: boolean; }; }; variant: { type: import("vue").PropType<"filled" | "outlined" | "borderless" | "underlined">; default: any; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { button: { color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }; form: { validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }; input: { autocomplete?: string; }; progress: { className?: string; style?: import("vue").CSSProperties; }; select: { showSearch?: boolean; }; flex: { vertical?: boolean; }; csp: import("./context").CSPConfig; direction: "rtl" | "ltr"; space: { size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }; warning: { strict?: boolean; }; theme: import("./context").ThemeConfig; virtual: boolean; popupMatchSelectWidth: number | boolean; dropdownMatchSelectWidth: number | boolean; wave: { disabled?: boolean; }; locale: Locale; empty: { className?: string; style?: import("vue").CSSProperties; }; variant: "filled" | "outlined" | "borderless" | "underlined"; pagination: { showSizeChanger?: boolean; }; transfer: { selectionsIcon?: import("../_util/type").VueNode; }; autoInsertSpaceInButton: boolean; pageHeader: { ghost?: boolean; }; componentDisabled: boolean; alert: { className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }; breadcrumb: { className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }; card: { className?: string; style?: import("vue").CSSProperties; }; avatar: { className?: string; style?: import("vue").CSSProperties; }; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase Window | HTMLElement>; }; getPopupContainer: { type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>; }; prefixCls: StringConstructor; getPrefixCls: { type: import("vue").PropType<(suffixCls?: string, customizePrefixCls?: string) => string>; }; renderEmpty: { type: import("vue").PropType; }; transformCellText: { type: import("vue").PropType<(tableProps: import("../table/interface").TransformCellTextProps) => any>; }; csp: { type: import("vue").PropType; default: import("./context").CSPConfig; }; input: { type: import("vue").PropType<{ autocomplete?: string; }>; default: { autocomplete?: string; }; }; autoInsertSpaceInButton: { type: BooleanConstructor; default: any; }; locale: { type: import("vue").PropType; default: Locale; }; pageHeader: { type: import("vue").PropType<{ ghost?: boolean; }>; default: { ghost?: boolean; }; }; componentSize: { type: import("vue").PropType; }; componentDisabled: { type: BooleanConstructor; default: any; }; direction: { type: import("vue").PropType<"rtl" | "ltr">; default: string; }; space: { type: import("vue").PropType<{ size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }>; default: { size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }; }; alert: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }>; default: { className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }; }; breadcrumb: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }>; default: { className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }; }; card: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; empty: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; avatar: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; progress: { type: import("vue").PropType<{ className?: string; style?: import("vue").CSSProperties; }>; default: { className?: string; style?: import("vue").CSSProperties; }; }; virtual: { type: BooleanConstructor; default: any; }; dropdownMatchSelectWidth: { type: (BooleanConstructor | NumberConstructor)[]; default: any; }; popupMatchSelectWidth: { type: (BooleanConstructor | NumberConstructor)[]; default: any; }; form: { type: import("vue").PropType<{ validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }>; default: { validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }; }; pagination: { type: import("vue").PropType<{ showSizeChanger?: boolean; }>; default: { showSizeChanger?: boolean; }; }; transfer: { type: import("vue").PropType<{ selectionsIcon?: import("../_util/type").VueNode; }>; default: { selectionsIcon?: import("../_util/type").VueNode; }; }; button: { type: import("vue").PropType<{ color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }>; default: { color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }; }; theme: { type: import("vue").PropType; default: import("./context").ThemeConfig; }; select: { type: import("vue").PropType<{ showSearch?: boolean; }>; default: { showSearch?: boolean; }; }; wave: { type: import("vue").PropType<{ disabled?: boolean; }>; default: { disabled?: boolean; }; }; flex: { type: import("vue").PropType<{ vertical?: boolean; }>; default: { vertical?: boolean; }; }; warning: { type: import("vue").PropType<{ strict?: boolean; }>; default: { strict?: boolean; }; }; variant: { type: import("vue").PropType<"filled" | "outlined" | "borderless" | "underlined">; default: any; }; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { button: { color?: "default" | "danger" | "primary"; variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined"; autoInsertSpace?: boolean; }; form: { validateMessages?: ValidateMessages; requiredMark?: import("../form/Form").RequiredMark; colon?: boolean; scrollToFirstError?: boolean | import("../form/interface").ScrollFocusOptions; }; input: { autocomplete?: string; }; progress: { className?: string; style?: import("vue").CSSProperties; }; select: { showSearch?: boolean; }; flex: { vertical?: boolean; }; csp: import("./context").CSPConfig; direction: "rtl" | "ltr"; space: { size?: number | import("./context").SizeType; className?: string; style?: import("vue").CSSProperties; }; warning: { strict?: boolean; }; theme: import("./context").ThemeConfig; virtual: boolean; popupMatchSelectWidth: number | boolean; dropdownMatchSelectWidth: number | boolean; wave: { disabled?: boolean; }; locale: Locale; empty: { className?: string; style?: import("vue").CSSProperties; }; variant: "filled" | "outlined" | "borderless" | "underlined"; pagination: { showSizeChanger?: boolean; }; transfer: { selectionsIcon?: import("../_util/type").VueNode; }; autoInsertSpaceInButton: boolean; pageHeader: { ghost?: boolean; }; componentDisabled: boolean; alert: { className?: string; style?: import("vue").CSSProperties; closeIcon?: import("../_util/type").VueNode; closable?: boolean | Record; }; breadcrumb: { className?: string; style?: import("vue").CSSProperties; separator?: import("../_util/type").VueNode; }; card: { className?: string; style?: import("vue").CSSProperties; }; avatar: { className?: string; style?: import("vue").CSSProperties; }; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin & { readonly useConfig: typeof useConfig; readonly config: typeof setGlobalConfig; }; export default _default;