UNPKG

@etothepii/satisfactory-file-parser

Version:

A file parser for satisfactory files. Includes save files and blueprint files.

21 lines (20 loc) 881 B
export declare abstract class JsonStreamWritable { protected pushWritable: (value: string) => Promise<void>; private openedSymbols; private numberPropertiesInOpenedSymbol; private currentPropertyOpen; constructor(pushWritable: (value: string) => Promise<void>); protected isValid: () => boolean; private numPropertiesInCurrentOpenedSymbol; protected startObject(): Promise<void>; protected endObject(): Promise<void>; protected startArray(): Promise<void>; protected endArray(): Promise<void>; protected writeProperty<T>(name: string, value: Promise<string>): Promise<void>; protected writeProperties<T>(properties: { name: string; value: Promise<string>; }[]): Promise<void>; protected writePropertyName(name: string): Promise<void>; protected writeValue<T>(value: Promise<string>): Promise<void>; }