UNPKG

wechaty-puppet-service

Version:
14 lines 594 B
import { FileBox } from 'file-box'; import type { FileBoxInterface } from 'file-box'; import { Readable } from 'stronger-typed-streams'; import { puppet } from 'wechaty-grpc'; /** * @deprecated Will be removed after Dec 31, 2022 */ declare function unpackFileBoxFromChunk(stream: Readable<puppet.FileBoxChunk>): Promise<FileBox>; /** * @deprecated Will be removed after Dec 31, 2022 */ declare function packFileBoxToChunk(fileBox: FileBoxInterface): Promise<Readable<puppet.FileBoxChunk>>; export { unpackFileBoxFromChunk, packFileBoxToChunk, }; //# sourceMappingURL=file-box-chunk.d.ts.map