import { type PropsWithChildren } from "react"; import type { ReactNode } from "react"; import type { CardProps } from "../Card"; export type CollapsibleCardProps = PropsWithChildren<{ /** * The content of the `CollapsibleCard` header. */ header: ReactNode; /** * The default open state of the `CollapsibleCard`. * @default true */ defaultOpen?: boolean; /** * The controlled open state of the `CollapsibleCard`. */ open?: boolean; /** * Callback function called when the open state changes. */ onOpenChange?: (open: boolean) => void; /** * Hide the icon. * @default false */ hideIcon?: boolean; } & Omit>; /** * The `CollapsibleCard` component displays content within a card layout, allowing users to expand or collapse sections to efficiently manage information density. * * See the [Collapsible Card documentation page](https://satellite.algolia.com/8261d6576/p/94def2-collapsible-card) for more information. */ export declare const CollapsibleCard: import("react").ForwardRefExoticComponent<{ /** * The content of the `CollapsibleCard` header. */ header: ReactNode; /** * The default open state of the `CollapsibleCard`. * @default true */ defaultOpen?: boolean; /** * The controlled open state of the `CollapsibleCard`. */ open?: boolean; /** * Callback function called when the open state changes. */ onOpenChange?: (open: boolean) => void; /** * Hide the icon. * @default false */ hideIcon?: boolean; } & Omit & { children?: ReactNode | undefined; } & import("react").RefAttributes>;