import * as React from 'react'; export declare function useCollapsibleContent(parameters: useCollapsibleContent.Parameters): useCollapsibleContent.ReturnValue; export declare namespace useCollapsibleContent { interface Parameters { /** * If `true`, the component supports CSS/JS-based animations and transitions. * @default false */ animated?: boolean; /** * The hidden state when closed * @default 'hidden' */ htmlHidden?: 'hidden' | 'until-found'; id?: React.HTMLAttributes['id']; mounted: boolean; /** * The open state of the Collapsible */ open: boolean; ref: React.Ref; setContentId: (id: string | undefined) => void; setOpen: (nextOpen: boolean) => void; setMounted: (nextMounted: boolean) => void; } interface ReturnValue { getRootProps: (externalProps?: React.ComponentPropsWithRef<'button'>) => React.ComponentPropsWithRef<'button'>; height: number; } }