import * as React from 'react';
import type { UseCollapsibleRootReturnValue } from "./useCollapsibleRoot.js";
import type { CollapsibleRoot, CollapsibleRootState } from "./CollapsibleRoot.js";
import type { TransitionStatus } from "../../utils/useTransitionStatus.js";
export interface CollapsibleRootContext extends UseCollapsibleRootReturnValue {
  onOpenChange: (open: boolean, eventDetails: CollapsibleRoot.ChangeEventDetails) => void;
  state: CollapsibleRootState;
  transitionStatus: TransitionStatus;
}
export declare const CollapsibleRootContext: React.Context<CollapsibleRootContext | undefined>;
export declare function useCollapsibleRootContext(): CollapsibleRootContext;