export type CollapsibleContextProps = { /** * The open state of the collapsible. */ open: boolean; /** * Allows connecting trigger to content */ contentId: string; /** * Allows connecting content to trigger */ triggerId: string; /** * Callback for toggling open state */ onOpenToggle: () => void; /** * Allows always rendering children in content when closed */ lazy: boolean; /** * Utility for getting state as string. Usefull for data-attributes. */ state: "open" | "closed"; }; export declare const CollapsibleContextProvider: import("react").FC, useCollapsibleContext: (strict?: S | undefined) => S extends true ? CollapsibleContextProps : CollapsibleContextProps | undefined;