/** * @module botbuilder */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Activity } from 'botframework-schema'; import { PagedResult, TranscriptInfo, TranscriptStore } from './transcriptLogger'; /** * The memory transcript store stores transcripts in volatile memory in a Map. * * @remarks * Because this uses an unbounded volatile dictionary this should only be used for unit tests or * non-production environments. */ export declare class MemoryTranscriptStore implements TranscriptStore { private static readonly pageSize; private channels; /** * Log an activity to the transcript. * * @param activity Activity to log. * @returns {Promise} A promise representing the async operation. */ logActivity(activity: Activity): void | Promise; /** * Get activities from the memory transcript store. * * @param channelId Channel Id. * @param conversationId Conversation Id. * @param continuationToken Continuation token to page through results. * @param startDate Earliest time to include. * @returns {Promise>} A page of matching activities. */ getTranscriptActivities(channelId: string, conversationId: string, continuationToken?: string, startDate?: Date): Promise>; /** * List conversations in the channelId. * * @param channelId Channel Id. * @param continuationToken Continuation token to page through results. * @returns {Promise>} A page of conversations for a channel from the store. */ listTranscripts(channelId: string, continuationToken?: string): Promise>; /** * Delete a specific conversation and all of it's activities. * * @param channelId Channel Id where conversation took place. * @param conversationId Id of the conversation to delete. * @returns {Promise} A promise representing the async operation. */ deleteTranscript(channelId: string, conversationId: string): Promise; } //# sourceMappingURL=memoryTranscriptStore.d.ts.map