export interface Output { write(object: R): any; } export interface RecordOutput { write(record: R): any; end(): any; }