import * as React from 'react'; import type { CollapsibleContextValue, CollapsibleProps, CollapsibleRootProps } from './types.js'; export declare const CollapsibleProvider: React.FC, useCollapsibleContext: (consumerName: string) => CollapsibleContextValue; /** * @internal Class-name stem the disclosure parts publish, so the same parts serve a * standalone collapsible and an accordion's item without either owning a second copy. */ export declare const CollapsibleFamilyContext: React.Context<"collapsible" | "accordion">; /** * Root of a show/hide panel; owns open state and shares it with descendants via context, rendering a `
` with `data-state` and `data-disabled`. * * @example * ```tsx * import { CollapsibleContent, CollapsibleIndicator, CollapsibleRoot, CollapsibleTrigger } from '@skdx/react/primitives/collapsible'; * * * * Toggle * * * Revealed on toggle. * * ``` */ export declare const CollapsibleRoot: { ({ open: openProp, defaultOpen, onOpenChange, onOpenChangeComplete, disabled, ref: forwardedRef, ...props }: CollapsibleRootProps): React.ReactNode; displayName: string; }; /** * A show/hide panel with a derived trigger and indicator wrapped around `children`. * * @example * ```tsx * *

Ships in 2 days.

*
* ``` */ export declare const Collapsible: { ({ title, children, ref: forwardedRef, ...rest }: CollapsibleProps): React.ReactNode; displayName: string; };