mindee
Version:
Mindee Client Library for Node.js
13 lines (12 loc) • 583 B
TypeScript
import { StringDict } from "../../common";
import type { ListField } from "./listField";
import type { ObjectField } from "./objectField";
import type { SimpleField } from "./simpleField";
export declare class InferenceFields extends Map<string, SimpleField | ObjectField | ListField> {
protected _indentLevel: number;
constructor(serverResponse: StringDict, indentLevel?: number);
getSimpleField(fieldName: string): SimpleField;
getObjectField(fieldName: string): ObjectField;
getListField(fieldName: string): ListField;
toString(indent?: number): string;
}