import PfButton from '../Button.vue'; import type { HTMLAttributes } from 'vue'; import type { ComponentProps } from 'vue-component-type-helpers'; import { type OUIAProps } from '../../helpers/ouia'; interface Props extends OUIAProps, /* @vue-ignore */ HTMLAttributes { /** ID of the content of the expandable section. It must match the contentId of the pf-expandable-section. */ contentId?: string; /** ID of the toggle. It must match the toggleId of the pf-expandable-section. */ toggleId?: string; /** Direction the toggle arrow should point when the expandable section is expanded. */ direction?: 'up' | 'down'; /** Flag to determine toggle styling when the expandable content is truncated. */ truncate?: boolean; /** Flag indicating that the expandable section and expandable toggle are detached from one another. */ detached?: boolean; /** The HTML element to use for the toggle wrapper. Use a heading level when the toggle text should function as a heading. */ toggleWrapper?: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; /** Additional attributes for the toggle button, like aria-label and aria-labelledby */ toggleAttrs?: ComponentProps; } type __VLS_Props = Props; type __VLS_Slots = { default?: (props?: Record) => any; }; type __VLS_ModelProps = { /** Flag to indicate if the content is expanded */ 'expanded'?: boolean; }; type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps; declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:expanded": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:expanded"?: ((value: boolean) => any) | undefined; }>, { direction: "up" | "down"; toggleWrapper: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=ExpandableSectionToggle.vue.d.ts.map