import { type ReactNode } from 'react'; import { type DisclosureGroupProps as RACDisclosureGroupProps } from 'react-aria-components'; import type { CommonProps, Key } from '../types.js'; import { type DisclosureSize, type DisclosureVariant } from './context.js'; export interface DisclosureGroupProps extends CommonProps, Pick { /** The disclosures to group together. */ children: ReactNode; /** * Determines the visual appearance of disclosures within this group. * @default 'base' */ variant?: DisclosureVariant; /** * Determines the size of disclosures within this group. * @default 'medium' */ size?: DisclosureSize; /** Handler that is called when any disclosure in this group is expanded or collapsed. */ onExpandedChange?: (keys: Set) => void; } /** * Displays a grouping of related disclosures. * * See [disclosure usage guidelines](https://ui.cimpress.io/components/disclosure/). */ declare const _DisclosureGroup: (props: DisclosureGroupProps & import("react").RefAttributes & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null; export { _DisclosureGroup as DisclosureGroup }; //# sourceMappingURL=disclosure-group.d.ts.map