import { ITextUtteranceLabelMapDataStructure, Label, ScoreEntity, ScoreIntent } from '@microsoft/bf-dispatcher'; import { LabelResolver } from './labelresolver'; export declare class OrchestratorHelper { static SnapshotFileName: string; static exists(path: string): boolean; static isDirectory(path: string): boolean; static mkDir(path: string): void; static readFile(filePath: string): string; static writeToFile(filePath: string, content: string, options?: any): string; static deleteFile(filePath: string): void; static createDteContent(utteranceLabelsMap: Map>): string; static getTsvContent(inputPathConfiguration: string, hierarchical?: boolean, outputDteFormat?: boolean): Promise; static getSnapshotFromFile(snapshotPath: string): Uint8Array; static getUtteranceLabelsMap(filePathConfiguration: string, hierarchical?: boolean, routingName?: string): Promise; static getSnapshotFilePath(out: string, input: string): string; static getDialogFilesContent(baseName: string, recognizers?: any, routingName?: string, skillName?: string): { orchestratorRecognizer: any; multiLanguageRecognizer: any; }; static getEntitiesInLu(luObject: any): Promise; static transformEntities(luisObject: any): string[]; static jsonStringify(obj: any): string; static processFile(filePath: string, routingName: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): Promise; static parseJsonBluFile(jsonBluFile: string, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): void; static parseTsvBluFile(bluFile: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>): void; static parseLuFile(luFile: string, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): Promise; static parseLuContent(luFile: string, luContent: string, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): Promise; static parseTsvFile(tsvFile: string, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>): void; static tryParseLabelUtteranceTsv(lines: string[], utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, bluFormat?: boolean): boolean; static tryParseQnATsvFile(lines: string[], hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>): boolean; static isQnATsvHeader(header: string): boolean; static hasLabelUtteranceHeader(header: string): boolean; static parseQnaFile(qnaFile: string, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>): Promise; static iterateInputFolder(folderPath: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map, hierarchical: boolean): Promise; static getIntentsEntitiesUtterances(luisObject: any, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): boolean; static getQnaQuestionsAsUtterances(qnaObject: any, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>): void; static getJsonBluIntentsEntitiesUtterances(jsonBluObject: any, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): boolean; static getJsonIntentsEntitiesUtterances(jsonObjectArray: any, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): boolean; static getExampleArrayIntentsEntitiesUtterances(exampleArray: any, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): boolean; static getJsonIntentEntityScoresUtterances(jsonObjectArray: any, utteranceLabelScoresMap: Map, utteranceEntityLabelScoresMap: Map): boolean; static getRoutingNameFromFileName(filePath: string, hierarchical: boolean, routingName?: string): string; static addNewLabelUtterance(utterance: string, label: string, hierarchicalLabel: string, utteranceLabelsMap: Map>, utteranceLabelDuplicateMap: Map>): void; static addNewEntityLabelUtteranceTraversal(utterance: string, existingEntityLabels: Label[], entityEntry: any, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map, entityLabelPrefix?: string): void; static addNewEntityLabelUtterance(utterance: string, entityEntry: any, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): void; static addNewEntityLabelObjectUtterance(utterance: string, entityEntry: Label, utteranceEntityLabelsMap: Map, utteranceEntityLabelDuplicateMap: Map): void; static addUniqueLabel(newLabel: string, labels: Set): boolean; static addUniqueLabelToArray(newLabel: string, labels: string[]): boolean; static addUniqueEntityLabelArray(newLabel: Label, labels: Label[]): boolean; static findLuFiles(srcId: string, idsToFind: { filePath: string; }[]): { content: string; id: string; }[]; private static getLuInputsEx; static getLuInputs(inputPath: string): any[]; static getSnapshots(inputPath: string): Map; static getSnapshotsEx(outputPath: string, snapshots: Map): void; static writeBuildOutputFiles(outputPath: string, retPayload: any): void; static processLuContent(luObject: any, labelResolvers: Map, routingName?: string, isDialog?: boolean, fullEmbedding?: boolean, skillName?: string): Promise<{ id: string; snapshot: any; recognizer: any; }>; static processLuContentSingle(luObject: any, labelResolver: LabelResolver, routingName?: string, isDialog?: boolean, fullEmbedding?: boolean, skillName?: string): Promise<{ id: string; snapshot: any; recognizer: any; }>; }