/** * A wrapper element that can collapse and expand to fit its content dynamically and efficiently. * * @category Collapsible * @category Elements * @see https://electrovir.github.io/vira/book/elements/vira-collapsible-wrapper */ export declare const ViraCollapsibleWrapper: import("element-vir").DeclarativeElementDefinition<`vira-${string}`, { expanded: boolean; /** When true, forces the content to expand when printing regardless of collapsed state. */ expandOnPrint?: boolean; }, { contentHeight: number; contentWidth: number; /** * Collapsed content that is merely `height: 0` is still rendered, so the browser emits * a line break for it when serializing a selection to plain text. Copying a region that * spans collapsed wrappers then pastes with runs of blank lines. Taking the content out * of layout entirely is what drops those breaks; `visibility: hidden` and `user-select: * none` both leave them behind. * * This starts `false` even when collapsed because the wrapper takes both its width and * its animation target height from the content, so the content has to be laid out once * before it can be hidden. */ isContentHidden: boolean; collapsingElement: HTMLDivElement | undefined; }, { expandChange: import("element-vir").DefineEvent; }, "vira-collapsible-wrapper-expand-on-print", `vira-${string}-`, readonly ["vira-collapsible-wrapper-header"], readonly []>;