import { CustomerSDK } from '.'; import * as clientEntities from './types/clientEntities'; type HistoryResult = { done: false; value: { threads: clientEntities.Thread[]; }; } | { done: true; value: { threads: clientEntities.Thread[]; } | undefined; }; export type HistoryIterator = { next(): Promise; }; declare const createChatHistoryIterator: (sdk: CustomerSDK, chatId: string) => HistoryIterator; export default createChatHistoryIterator; //# sourceMappingURL=chatHistory.d.ts.map