import { type KeyboardEventHandler, type MouseEvent } from 'react'; export declare const useCollapse: ({ expanded: propExpanded, defaultExpanded, disabled, noncollapsible, tabIndex, }: { expanded?: boolean; defaultExpanded?: boolean; disabled?: boolean; noncollapsible?: boolean; tabIndex?: number; }) => { barProps: { readonly 'aria-disabled': "true"; readonly 'aria-expanded': "true"; readonly 'aria-labelledby': string; } | { readonly 'aria-controls': string; readonly 'aria-expanded': "true" | "false"; readonly tabIndex: number | undefined; readonly onClick: (e: MouseEvent) => void; readonly onKeyDown: KeyboardEventHandler; }; titleId: string; panelId: string; panelExpanded: boolean; expanded: boolean; }; //# sourceMappingURL=useCollapse.d.ts.map