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<CollapsibleContextProps & {
    children: React.ReactNode;
    ref?: never;
}>, useCollapsibleContext: <S extends boolean = true>(strict?: S | undefined, errorMessageOverride?: string) => S extends true ? CollapsibleContextProps : CollapsibleContextProps | undefined;
