/** * @module botframework-config * * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { ICosmosDBService } from '../schema'; import { AzureService } from './azureService'; /** * Defines a CosmosDB service connection. * * @deprecated See https://aka.ms/bot-file-basics for more information. */ export declare class CosmosDbService extends AzureService implements ICosmosDBService { /** * Endpoint/uri for CosmosDB. */ endpoint: string; /** * Key for accessing CosmosDB. */ key: string; /** * Database name. */ database: string; /** * Collection name. */ collection: string; /** * Creates a new CosmosDBService instance. * * @param source (Optional) JSON based service definition. */ constructor(source?: ICosmosDBService); /** * 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=cosmosDbService.d.ts.map