UNPKG

@oaklean/profiler-core

Version:

Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec

11 lines (10 loc) 405 B
export declare abstract class BaseModel { abstract toJSON(): object | undefined; static fromJSON(json: string | object, ...args: any[]): object; static recordToJSON<T>(record: Record<string, BaseModel>): Record<string, T>; toBuffer(...args: any[]): Buffer; static consumeFromBuffer(buffer: Buffer, ...args: any[]): { instance: object; remainingBuffer: Buffer; }; }