File size: 787 Bytes
78c921d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { Data } from '../data.js';
import { Struct, TypeMap } from '../type.js';
/** @ignore */ declare const kParent: unique symbol;
/** @ignore */ declare const kRowIndex: unique symbol;
export declare type StructRowProxy<T extends TypeMap = any> = StructRow<T> & {
    [P in keyof T]: T[P]['TValue'];
} & {
    [key: symbol]: any;
};
export declare class StructRow<T extends TypeMap = any> {
    private [kRowIndex];
    private [kParent];
    constructor(parent: Data<Struct<T>>, rowIndex: number);
    toArray(): T[string]["TValue"][];
    toJSON(): { [P in string & keyof T]: T[P]["TValue"]; };
    toString(): string;
    [Symbol.iterator](): IterableIterator<[
        keyof T,
        {
            [P in keyof T]: T[P]['TValue'] | null;
        }[keyof T]
    ]>;
}
export {};