/** * @module botframework-config * * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { ILuisService, ServiceTypes } from '../schema'; import { ConnectedService } from './connectedService'; /** * Defines a LUIS service connection. * * @deprecated See https://aka.ms/bot-file-basics for more information. */ export declare class LuisService extends ConnectedService implements ILuisService { /** * Luis app ID. */ appId: string; /** * Authoring key for using authoring api. */ authoringKey: string; /** * Subscription key for using calling model api for predictions. */ subscriptionKey: string; /** * Version of the application. */ version: string; /** * Region for luis. */ region: string; /** * URL for a custom endpoint. This should only be used when the LUIS deployed via a container. * If a value is set, then the GetEndpoint() method will return the value for Custom Endpoint. */ customEndpoint: string; /** * Creates a new LuisService instance. * * @param source (Optional) JSON based service definition. * @param serviceType (Optional) type of service being defined. */ constructor(source?: ILuisService, serviceType?: ServiceTypes); /** * Get endpoint for the luis service. If a customEndpoint is set then this is returned * otherwise the endpoint is automatically generated based on the region set. * * @returns The URL for this service. */ getEndpoint(): string; /** * Encrypt properties on this service. * * @param secret Secret to use to encrypt. * @param encryptString Function called to encrypt an individual value. */ encrypt(secret: string, encryptString: (value: string, secret: string) => string): void; /** * Decrypt properties on this service. * * @param secret Secret to use to decrypt. * @param decryptString Function called to decrypt an individual value. */ decrypt(secret: string, decryptString: (value: string, secret: string) => string): void; } //# sourceMappingURL=luisService.d.ts.map