import {BinaryDataType} from "../../../binary/type/BinaryDataType";

interface IBinarySchema {
    [k: string]: BinaryDataType
}

export class TableRecord<T extends IBinarySchema> {
    constructor(type: T)

    readonly table_schema: RowFirstTableSpec

    value: Partial<{ [prop in keyof T]: number }>

    get(): { [prop in keyof T]: number }

    set(v: Partial<{ [prop in keyof T]: number }>): void

    bind(table: RowFirstTable, row_index: number): void

}