import { CSSResult } from 'lit'; import { TContainer } from '@namiml/sdk-core'; import { NamiElement } from '../NamiElement'; import type { TProductContainer } from '@namiml/sdk-core'; import type { TSemverObj } from '@namiml/sdk-core'; export declare class NamiContainer extends NamiElement { component: TContainer | TProductContainer; /** * Focus *inherited from a focusable ancestor* — "the button I live inside is focused". * This is the only value handed down to children (see `render`). * * NAM-3605: deliberately distinct from `focusWithin` below. Conflating the two made a * container broadcast focus to every child whenever any one descendant was focused, which * flipped sibling buttons' text to their `focusedFontColor` while CSS `:host(:focus)` left * their fill in the resting state — dark text on a dark fill. */ inFocusedState: boolean; scaleFactor: number; minSDKVersion: TSemverObj; /** * Focus held by *some descendant* of this container — the `:focus-within` analogue. Drives * only this container's own styling (the `nami-focus-within` class and `data-nami-focused` * attribute, both consumed by CSS), so it is a plain field rather than reactive state: no * template output depends on it and it must never reach children. */ private focusWithin; private readonly handleFocusIn; private readonly handleFocusOut; private readonly handleFocusChanged; constructor(); disconnectedCallback(): void; protected styles(): CSSResult; render(): any[]; private setFocusState; }