wechaty-puppet-service
Version:
Puppet Service for Wechaty
15 lines • 621 B
TypeScript
import type { FileBoxInterface } from 'file-box';
import type { Readable } from 'stronger-typed-streams';
import type { FileBoxPb } from './file-box-pb.type.js';
/**
* @deprecated Will be removed after Dec 31, 2022
*/
declare function packFileBoxToPb<T extends FileBoxPb>(PbConstructor: {
new (): T;
}): (fileBox: FileBoxInterface) => Promise<Readable<T>>;
/**
* @deprecated Will be removed after Dec 31, 2022
*/
declare function unpackFileBoxFromPb<T extends FileBoxPb>(pbStream: Readable<T>): Promise<FileBoxInterface>;
export { packFileBoxToPb, unpackFileBoxFromPb, };
//# sourceMappingURL=file-box-pb.d.ts.map