import { LitElement } from 'lit'; import type { ContainerElement } from '@nvidia-elements/core/internal'; import { type StateScrollConfig } from '@nvidia-elements/core/internal'; import { GridHeader } from './header/header.js'; import { GridColumn } from './column/column.js'; import { GridRow } from './row/row.js'; import { GridCell } from './cell/cell.js'; /** * @element nve-grid * @description A versatile table/datagrid component with built-in keyboard navigation for displaying and interacting with structured data. Use it for anything from simple read-only tables to fully interactive, spreadsheet experiences. * @documentation https://nvidia.github.io/elements/docs/elements/data-grid/ * @since 0.11.0 * @entrypoint \@nvidia-elements/core/grid * @slot - `nve-grid-header`, `nve-grid-row`, and `nve-grid-placeholder` elements. * @slot footer - slot for grid-footer or toolbar * @cssprop --background * @cssprop --color * @cssprop --border-radius * @cssprop --box-shadow * @cssprop --font-size * @cssprop --row-height - fixed height of each row * @cssprop --scroll-height - height of the scrollable area * @aria https://www.w3.org/WAI/ARIA/apg/patterns/grid/ */ export declare class Grid extends LitElement implements ContainerElement { #private; /** * Determines the container styles of component. Flat nests the grid within other containers. Full spans the full edge-to-edge viewport width. */ container?: 'flat' | 'full'; /** * Determine style variant stripe rows */ stripe: boolean; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; children: string[]; }; static elementDefinitions: {}; get keynavGridConfig(): { columns: GridColumn[]; rows: (GridHeader | GridRow)[]; cells: (GridCell | GridColumn)[]; }; get stateScrollConfig(): StateScrollConfig; /** @private */ _internals: ElementInternals; render(): import("lit").TemplateResult<1>; connectedCallback(): void; /** * Scroll to a specific position in the grid. */ scrollTo(options?: ScrollToOptions): Promise; scrollTo(x: number, y: number): Promise; }