import { type ElementRef, type OnChanges, type SimpleChanges } from "@angular/core"; import * as i0 from "@angular/core"; /** * Intrinsic grid layout primitive — auto-fits as many columns as fit between * `min` and `max` wide, wrapping to new rows when there's no more horizontal * room. Mirrors the React `` component / vanilla `.aia-grid` primitive. * * Optionally scrolls (`scroll`, capped height). * * @internal */ export declare class GridComponent implements OnChanges { /** Minimum cell width. CSS length, e.g. "16rem". Columns auto-fit at runtime. */ min: string; /** Maximum cell width. CSS length. Defaults (via CSS) to `1fr` (stretch). */ max?: string; /** Gap between cells. */ gap?: string; /** Cap the height and scroll vertically when content overflows. */ scroll: boolean; /** Max height when `scroll`. CSS length. Defaults (via CSS) to 120px. */ maxHeight?: string; /** Scroll back to the top whenever this key changes (`scroll` only). */ scrollResetKey?: string; /** Fixed column count. Overrides the intrinsic auto-fit when set; rows fill left-to-right. */ cols?: number; /** Explicit `grid-template-columns` value. Overrides `cols` when set. */ template?: string; /** * Identity of the content group on screen, mirrored onto `data-aia-group`. * The core's scroll-arrow controller reads it to tell a new set of options * (rising in) from the same set re-rendered. */ group?: string; /** * Explicit column template overrides the intrinsic auto-fit (inline wins). * The track string is built by the core so all three packages emit the same * one; a measured template (the two-column split) wins over the count. */ get templateColumns(): string | null; gridRef?: ElementRef; /** * A new `scrollResetKey` means a different content group is being shown (e.g. * the next suggestion's options after a selection) — start it from the top * instead of inheriting the previous group's scroll offset. */ ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=grid.component.d.ts.map