import { ThemeCommonVars } from "../../_styles/common/light.js"; import { ExtractPublicPropTypes } from "../../_utils/naive/extract-public-props.js"; import { MaybeArray } from "../../_utils/vue/call.js"; import "../../_utils/index.js"; import { CardTheme, CardThemeOverrides, CardThemeVars } from "../styles/light.js"; import "../styles/index.js"; import { CardSize } from "./public-types.js"; import "../../index.js"; import { RtlItem } from "../../config-provider/src/internal-interface.js"; import { CSSProperties, PropType, Ref, SlotsType, VNode, VNodeChild } from "vue"; //#region src/card/src/Card.d.ts interface CardSegmented { content?: boolean | 'soft'; footer?: boolean | 'soft'; action?: boolean | 'soft'; } declare const cardBaseProps: { readonly title: PropType VNodeChild)>; readonly contentClass: StringConstructor; readonly contentStyle: PropType; readonly contentScrollable: BooleanConstructor; readonly headerClass: StringConstructor; readonly headerStyle: PropType; readonly headerExtraClass: StringConstructor; readonly headerExtraStyle: PropType; readonly footerClass: StringConstructor; readonly footerStyle: PropType; readonly embedded: BooleanConstructor; readonly segmented: { readonly type: PropType; readonly default: false; }; readonly size: PropType; readonly bordered: { readonly type: BooleanConstructor; readonly default: true; }; readonly closable: BooleanConstructor; readonly hoverable: BooleanConstructor; readonly role: StringConstructor; readonly onClose: PropType void>>; readonly tag: { readonly type: PropType; readonly default: "div"; }; readonly cover: PropType<() => VNodeChild>; readonly content: PropType VNodeChild)>; readonly footer: PropType<() => VNodeChild>; readonly action: PropType<() => VNodeChild>; readonly headerExtra: PropType<() => VNodeChild>; readonly closeFocusable: BooleanConstructor; }; declare const cardBasePropKeys: ("title" | "bordered" | "closable" | "onClose" | "content" | "footer" | "contentClass" | "contentStyle" | "size" | "cover" | "contentScrollable" | "headerClass" | "headerStyle" | "headerExtraClass" | "headerExtraStyle" | "footerClass" | "footerStyle" | "embedded" | "segmented" | "hoverable" | "role" | "tag" | "action" | "headerExtra" | "closeFocusable")[]; declare const cardProps: { title: PropType VNodeChild)>; contentClass: StringConstructor; contentStyle: PropType; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; bordered: { readonly type: BooleanConstructor; readonly default: true; }; closable: BooleanConstructor; hoverable: BooleanConstructor; role: StringConstructor; onClose: PropType void>>; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => VNodeChild>; content: PropType VNodeChild)>; footer: PropType<() => VNodeChild>; action: PropType<() => VNodeChild>; headerExtra: PropType<() => VNodeChild>; closeFocusable: BooleanConstructor; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }; type CardProps = ExtractPublicPropTypes; interface CardSlots { default?: () => VNode[]; cover?: () => VNode[]; header?: () => VNode[]; 'header-extra'?: () => VNode[]; footer?: () => VNode[]; action?: () => VNode[]; } declare const _default: import("vue").DefineComponent VNodeChild)>; contentClass: StringConstructor; contentStyle: PropType; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; bordered: { readonly type: BooleanConstructor; readonly default: true; }; closable: BooleanConstructor; hoverable: BooleanConstructor; role: StringConstructor; onClose: PropType void>>; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => VNodeChild>; content: PropType VNodeChild)>; footer: PropType<() => VNodeChild>; action: PropType<() => VNodeChild>; headerExtra: PropType<() => VNodeChild>; closeFocusable: BooleanConstructor; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>, { rtlEnabled: Ref | undefined; mergedClsPrefix: Ref; mergedTheme: import("vue").ComputedRef<{ common: ThemeCommonVars; self: CardThemeVars; peers: any; peerOverrides: { [x: string]: any; }; }>; handleCloseClick: () => void; cssVars: Ref | undefined; themeClass: Ref | undefined; onRender: (() => void) | undefined; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly VNodeChild)>; contentClass: StringConstructor; contentStyle: PropType; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; bordered: { readonly type: BooleanConstructor; readonly default: true; }; closable: BooleanConstructor; hoverable: BooleanConstructor; role: StringConstructor; onClose: PropType void>>; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => VNodeChild>; content: PropType VNodeChild)>; footer: PropType<() => VNodeChild>; action: PropType<() => VNodeChild>; headerExtra: PropType<() => VNodeChild>; closeFocusable: BooleanConstructor; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>> & Readonly<{}>, { bordered: boolean; closable: boolean; contentScrollable: boolean; embedded: boolean; segmented: boolean | CardSegmented; hoverable: boolean; tag: keyof HTMLElementTagNameMap; closeFocusable: boolean; }, SlotsType, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { CardProps, CardSegmented, CardSlots, cardBasePropKeys, cardBaseProps, cardProps, _default as default };