import type { Slot } from 'vue'; /** * AvCard component props. */ export interface AvCardProps { /** * If true, the card will be displayed in title-only mode. * @default false */ titleOnly?: boolean; /** * The background color of the card. * @default 'var(--card)' */ backgroundColor?: string; /** * The border color of the card. * @default 'var(--stroke)' */ borderColor?: string; /** * The background color of the card title. * @default 'var(--surface-background)' */ titleBackground?: string; /** * The height of the card title. */ titleHeight?: string; /** * Whether the card is collapsible. When collapsed, the title is still shown. * This requires a title slot to be provided. * @default false */ collapsible?: boolean; /** * Whether the card is collapsed by default (only if collapsible is true). * @default false */ collapsed?: boolean; /** * ARIA label for the collapse button when the card is expanded. * @default 'Collapse card' */ collapseLabel?: string; /** * ARIA label for the expand button when the card is collapsed. * @default 'Expand card' */ expandLabel?: string; /** * The border radius of the card. * @default 'var(--radius-2xl)' */ radius?: string; } /** * Slots available in the AvCard component. * * @slot title - Slot for the card title. * @slot body - Slot for the card body. * @slot footer - Slot for card footer. * @slot default - Default slot for global content. */ type __VLS_Slots = { /** * Slot for the card title. * Receives a `collapsed` boolean prop indicating whether the card is currently collapsed. * This prop can be used to adjust the title content based on the collapsed state. * For example, you might want to show an icon or change the text when the card is collapsed. * Note: The title slot is required if the `collapsible` prop is true, as the collapse button is integrated into the title area. */ title?: Slot<{ collapsed: boolean; }>; /** * Slot for the card body. */ body?: Slot; /** * Slot for the card footer. */ footer?: Slot; /** * Default slot for global content. */ default?: Slot; }; declare function toggleCollapsed(): void; declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };