/** Attributes for the control that opens and closes the region. */ export interface DisclosureTriggerProps { readonly id: string; readonly 'aria-expanded': boolean; readonly 'aria-controls': string; /** * `aria-disabled`, not the native `disabled` attribute: a disabled native * button drops out of the tab order, so a keyboard user cannot reach the * control that explains why the region will not open. Spread these onto a * native ` * *
…
* * ``` */ export declare function useDisclosure(inputs: () => UseDisclosureInputs): UseDisclosureReturn;