import type { Snippet } from "svelte"; import type { HTMLAttributes } from "svelte/elements"; type CollapsibleProps = Omit, "class" | "title"> & { /** État ouvert (bindable). */ open?: boolean; title: string; /** * Density of the trigger — `"md"` (default) is the current render. `"sm"` * de-emphasizes the trigger (smaller font/weight/padding) for NESTED / * level-2 collapsibles; `"lg"` enlarges it. Additive: with `size` unset the * trigger renders byte-identically to before. */ size?: "sm" | "md" | "lg"; disabled?: boolean; /** * Trailing content rendered inside the trigger, BETWEEN the title and the * chevron (e.g. a count Badge, a status Tag, a glyph). The chevron stays the * rightmost affordance. If the trailing content carries information SR users * need as part of the trigger name, set `aria-label` on the Collapsible via * `...rest` (e.g. `aria-label="Entities, 128 items"`). */ trailing?: Snippet; onToggle?: (open: boolean) => void; class?: string; children?: Snippet; }; declare const Collapsible: import("svelte").Component; type Collapsible = ReturnType; export default Collapsible; //# sourceMappingURL=Collapsible.svelte.d.ts.map