import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js"; import { GenerateStyle } from "../../theme/interface/index.js"; import "../../theme/internal.js"; import { CSSProperties } from "vue"; import { CSSObject } from "@antdv-next/cssinjs"; //#region src/collapse/style/index.d.ts /** Component only token. Which will handle additional calculation of alias token */ interface ComponentToken { /** * @desc 折叠面板头部内边距 * @descEN Padding of header */ headerPadding: CSSProperties['padding']; /** * @desc 小号折叠面板头部内边距 * @descEN Padding of small header */ headerPaddingSM: CSSProperties['padding']; /** * @desc 大号折叠面板头部内边距 * @descEN Padding of large header */ headerPaddingLG: CSSProperties['padding']; /** * @desc 折叠面板头部背景 * @descEN Background of header */ headerBg: string; /** * @desc 折叠面板内容内边距 * @descEN Padding of content */ contentPadding: CSSProperties['padding']; /** * @desc 小号折叠面板内容内边距 * @descEN Padding of small content */ contentPaddingSM: CSSProperties['padding']; /** * @desc 大号折叠面板内容内边距 * @descEN Padding of large content */ contentPaddingLG: CSSProperties['padding']; /** * @desc 折叠面板内容背景 * @descEN Background of content */ contentBg: string; /** * @desc 简约风格折叠面板的内容内边距 * @descEN Padding of content in borderless style */ borderlessContentPadding: CSSProperties['padding']; /** * @desc 简约风格折叠面板的内容背景 * @descEN Background of content in borderless style */ borderlessContentBg: string; } type CollapseToken = FullToken<'Collapse'> & { /** * @desc 折叠面板边框圆角 * @descEN Border radius of collapse panel */ collapsePanelBorderRadius: number; }; declare const genBaseStyle: GenerateStyle; declare const prepareComponentToken: GetDefaultToken<'Collapse'>; declare const _default: (prefixCls: import("vue").Ref, rootCls?: import("vue").Ref) => readonly [import("vue").Ref, import("vue").ComputedRef]; //#endregion export { ComponentToken, _default as default, genBaseStyle, prepareComponentToken };