import Tuple from "./Tuple"; import Stream from "./Stream"; import { symValueStringify, symValueType } from "./internalSymbols"; export default class Relation { header: Tuple; all: Tuple[]; tuples: Tuple[]; errors?: Tuple[]; headerAttrToIndex?: Map; [symValueType]: string; constructor(tuples: Tuple[]); errorsToErrorObject(): Error | null; stringify(): string; [symValueStringify](): string; getOrInferHeader(): Tuple; getTuplesSortedByHeader(): Tuple[]; } export declare function receiveToRelationInStream(out: Stream, attrName: string): Stream; export declare function receiveToRelationSync(): [Stream, () => Relation]; export declare function receiveToRelationAsync(): [Stream, Promise];