import { type DataTableRowId } from './DataTableController.js'; /** A stable row identity accessor. It must not depend on display position. */ export type DataTableRowKey = keyof T | ((row: T) => DataTableRowId); export interface DataTableResolvedRow { row: T; /** Index in the `data` array supplied to DataTable before local transforms. */ sourceIndex: number; /** Canonical key used by Svelte, selection, and expansion. */ rowId: DataTableRowId; } export interface ResolveDataTableRowsOptions { /** Durable table features may not use the historical source-index fallback. */ requireStableIdentity?: boolean; } /** * Resolve the renderer's source rows once and fail closed for missing or * duplicate durable identities. The index fallback only exists for * presentational local tables that have no durable row state. */ export declare function resolveDataTableRows(rows: readonly T[], rowKey: DataTableRowKey | undefined, options?: ResolveDataTableRowsOptions): DataTableResolvedRow[]; //# sourceMappingURL=DataTableIdentity.d.ts.map