import { EncodeStream } from '../encode-stream'; import { TypeAlias } from '../types/type-alias'; import { TypeRecord } from '../types/type-record'; import { ZedType } from '../types/types'; import { Field } from './field'; import { ZedValue, Value, JSOptions } from './types'; type ColumnName = string | string[]; export declare class Record implements Value { type: TypeRecord | TypeAlias; fields: Field[] | null; constructor(type: TypeRecord | TypeAlias, fields: Field[] | null); get null(): boolean; get flatColumns(): ColumnName[]; get columns(): string[]; get trueType(): TypeRecord; toString(): string; serialize(stream: EncodeStream): import("../zjson").Value[] | null; at(index: number | number[]): Value | null; fieldAt(index: number | number[]): null | Field; has(name: string | string[], ...types: ZedType[]): boolean; get(name: string | string[]): T; getField(name: string | string[]): Field | null; try(name: string | string[]): T | null; tryField(name: string | string[]): Field | null; private _getField; isUnset(): boolean; toJS(opts?: JSOptions): { [key: string]: any; } | null; } export {};