import type { AsChildTypes } from "../types"; import type { BindableProps } from "../types"; import { type PropsOf, type Signal } from "@qwik.dev/core"; export declare const collapsibleContextId: import("@qwik.dev/core").ContextId; export interface CollapsibleContext { itemId: string; isOpen: Signal; triggerRef: Signal; contentRef: Signal; isDisabled: Signal; isCollapsible: Signal; disableUntilFound: boolean | undefined; } export type PublicCollapsibleRootProps = Omit, "onChange$"> & { id?: string; open?: boolean | undefined; /** Event handler called when the open state changes */ onChange$?: (open: boolean) => void; disabled?: boolean; collapsible?: boolean; /** If true, content uses hidden instead of hidden=until-found */ disableUntilFound?: boolean; } & BindableProps; type CollapsibleBinds = { /** Whether the collapsible content is visible */ open: boolean; /** Whether the collapsible is disabled */ disabled: boolean; /** Whether the content can be collapsed */ collapsible: boolean; }; /** Root component providing context and state management for the collapsible */ export declare const CollapsibleRoot: import("@qwik.dev/core").Component; export {};