mindee
Version:
Mindee Client Library for Node.js
12 lines (11 loc) • 525 B
TypeScript
import { Inference, StringDict } from "./parsing/common";
export declare const COMMAND_CUSTOM = "custom";
export declare const COMMAND_GENERATED = "generated";
export interface ProductConfig<T extends Inference = Inference> {
displayName: string;
docClass: new (rawPrediction: StringDict) => T;
allWords: boolean;
async: boolean;
sync: boolean;
}
export declare const CLI_COMMAND_CONFIG: Map<string, ProductConfig<Inference<import("./parsing/common").Prediction, import("./parsing/common").Prediction>>>;