import * as React from 'react';
import { AnchorUIComponentProps } from '../../utils/types.js';
import type { CollapsibleRoot } from '../root/CollapsibleRoot.js';
/**
* A panel with the collapsible contents.
* Renders a `
` element.
*
* Documentation: [Anchor UI Collapsible](https://anchorui.com/react/components/collapsible)
*/
declare const CollapsiblePanel: React.ForwardRefExoticComponent>;
export { CollapsiblePanel };
declare namespace CollapsiblePanel {
interface Props extends AnchorUIComponentProps<'div', CollapsibleRoot.State> {
/**
* Allows the browser’s built-in page search to find and expand the panel contents.
*
* Overrides the `keepMounted` prop and uses `hidden="until-found"`
* to hide the element without removing it from the DOM.
*
* @default false
*/
hiddenUntilFound?: boolean;
/**
* Whether to keep the element in the DOM while the panel is hidden.
* This prop is ignored when `hiddenUntilFound` is used.
* @default false
*/
keepMounted?: boolean;
}
}