/** * Represents how field names correspond to field indexes in a NamedList. */ export type FieldMapping = { validFieldNames: Map; duplicateFieldNames: Map; fieldNames: (string | null)[]; }; /** * Class representing a list which allows retrieving elements both by index * and by name. If multiple elements have the same name, they have to be * retrieved by index. Otherwise an error is thrown. */ export declare class NamedList { values: Array; fieldMapping: FieldMapping; constructor(values: Array, fieldMapping: FieldMapping); protected static _fromTuples, T>(type: { new (values: Array, fieldMapping: FieldMapping): R; }, tuples: [string | null, T][]): R; get(indexOrName: string | number): T; getFieldNameAtIndex(index: number): string | null; }