import { IQnAService } from '../schema'; import { ConnectedService } from './connectedService'; /** * Defines a QnA Maker service connection. * * @deprecated See https://aka.ms/bot-file-basics for more information. */ export declare class QnaMakerService extends ConnectedService implements IQnAService { /** * Knowledge base id. */ kbId: string; /** * Subscription key for calling admin api. */ subscriptionKey: string; /** * hostname for private service endpoint Example: https://myqna.azurewebsites.net. */ hostname: string; /** * Endpoint Key for querying the kb. */ endpointKey: string; /** * Creates a new QnaMakerService instance. * * @param source (Optional) JSON based service definition. */ constructor(source?: IQnAService); /** * 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=qnaMakerService.d.ts.map