import type { puppet } from 'wechaty-grpc';
import { Readable } from 'stronger-typed-streams';
import type { FileBoxPb } from './file-box-pb.type.js';
/**
 * @deprecated Will be removed after Dec 31, 2022
 */
declare function packFileBoxChunkToPb<T extends FileBoxPb>(PbConstructor: {
    new (): T;
}): (stream: Readable<puppet.FileBoxChunk>) => Readable<T>;
/**
 * @deprecated Will be removed after Dec 31, 2022
 */
declare function unpackFileBoxChunkFromPb<T extends FileBoxPb>(stream: Readable<T>): Readable<puppet.FileBoxChunk>;
export { packFileBoxChunkToPb, unpackFileBoxChunkFromPb, };
//# sourceMappingURL=chunk-pb.d.ts.map