import { WebComponent } from 'solid-ui'; /** * The right-hand details column: one place that knows whether it is hidden, * loading, showing a contact, a tool, or a message -- instead of every caller * poking at innerHTML, aria-busy, and the `hidden` class themselves. * * Renders into the light DOM: what it hosts (a rendered pane, solid-ui's ACL * box, the Tools view) is legacy DOM styled by the pane's global stylesheet, * which a shadow root would cut off. The `detailSection` and * `detailsSectionContent` class names stay for the same reason. */ export default class DetailsSection extends WebComponent { private accessor view; private accessor message; private accessor content; /** Starts wide: the empty state holds the width a contact will need. */ private accessor wide; /** Extra elements shown above the view, e.g. the data-model cleanup * prompt. Like content once appended imperatively, they last until the next * view change. */ private accessor notices; /** What kind of thing the content is; 'contact' survives a group change. */ private contentKind; /** The section hosts legacy DOM styled by the pane's stylesheet. */ protected createRenderRoot(): this; connectedCallback(): void; get hasContact(): boolean; showLoading({ wide }?: { wide?: boolean | undefined; }): void; showMessage(message: string): void; showError(message: string): void; showContent(content: HTMLElement, { wide, kind }?: { wide?: boolean | undefined; kind?: "contact" | "other" | undefined; }): void; /** Back to the empty state -- wide, so the column keeps the width a * contact would give it instead of jumping when one is picked. */ clear(): void; /** Show an extra element above the current view. It does not open the * section -- a notice added while hidden waits for whatever opens it -- and * the next view change sweeps it away. */ addNotice(notice: HTMLElement): void; /** A new group selection keeps a contact on screen but sweeps anything * else -- tools, messages, a group's sharing pane -- off it. */ clearUnlessContact(): void; private transition; protected render(): import('lit-html').TemplateResult<1>; private renderView; private renderEmpty; } //# sourceMappingURL=DetailsSection.d.ts.map