UNPKG

wechaty-puppet-service

Version:
21 lines 937 B
import type { FileBoxInterface } from 'file-box'; import type { Readable } from 'stronger-typed-streams'; import type { ConversationIdFileBoxPb } from './file-box-pb.type.js'; interface ConversationIdFileBoxArgs { conversationId: string; fileBox: FileBoxInterface; } /** * MessageSendFileStreamRequest to Args * @deprecated Will be removed after Dec 31, 2022 */ declare function unpackConversationIdFileBoxArgsFromPb(stream: Readable<ConversationIdFileBoxPb>): Promise<ConversationIdFileBoxArgs>; /** * Args to MessageSendFileStreamRequest * @deprecated Will be removed after Dec 31, 2022 */ declare function packConversationIdFileBoxToPb<T extends ConversationIdFileBoxPb>(PbConstructor: { new (): T; }): (conversationId: string, fileBox: FileBoxInterface) => Promise<Readable<T>>; export { unpackConversationIdFileBoxArgsFromPb, packConversationIdFileBoxToPb, }; //# sourceMappingURL=conversation-id-file-box.d.ts.map