import type * as PUPPET from '@juzi/wechaty-puppet'; import { FlashStore } from 'flash-store'; interface PayloadStoreOptions { token: string; } interface StoreRoomMemberPayload { [roomMemberContactId: string]: PUPPET.payloads.RoomMember; } declare class PayloadStore { private options; contact?: FlashStore; roomMember?: FlashStore; room?: FlashStore; tag?: FlashStore; tagGroup?: FlashStore; miscellaneous?: FlashStore; protected storeDir: string; protected accountId?: string; constructor(options: PayloadStoreOptions); /** * When starting the store, we need to know the accountId * so that we can save the payloads under a specific account folder. */ start(accountId: string): Promise; stop(): Promise; destroy(): Promise; } export { PayloadStore }; //# sourceMappingURL=payload-store.d.ts.map