import * as React from 'react'; import type { IRefObject } from '../../Utilities'; import type { IComponent, IComponentStyles, IHTMLElementSlot, ISlotProp, ISlottableProps, IStyleableComponentProps } from '@fluentui/foundation-legacy'; import type { ITextSlot } from '@fluentui/react'; import type { IIconSlot } from '../../utilities/factoryComponents.types'; export type ICollapsibleSectionTitleComponent = IComponent; export type ICollapsibleSectionTitleTokenReturnType = ReturnType>; export type ICollapsibleSectionTitleStylesReturnType = ReturnType>; export type ICollapsibleSectionTitleSlot = ISlotProp; export interface ICollapsibleSectionTitleSlots { root?: IHTMLElementSlot<'button'>; chevron?: IIconSlot; text?: ITextSlot; } export interface ICollapsibleSectionTitleProps extends ISlottableProps, IStyleableComponentProps, React.ButtonHTMLAttributes { focusElementRef?: IRefObject; /** * Collapsed state of body associated with this component. */ collapsed?: boolean; /** * Disable chevron appearance. */ chevronDisabled?: boolean; /** * Indentation of title. */ indent?: number; } export interface ICollapsibleSectionTitleTokens { } export type ICollapsibleSectionTitleStyles = IComponentStyles;