/// import { Writable } from 'stream'; import * as pkg from './pkg'; export declare class ArrayBufferWritable extends Writable { readonly done: (e?: Error, data?: Buffer[]) => void; private parts; constructor(done: (e?: Error, data?: Buffer[]) => void); _write(chunk: any, enc: any, next: any): void; end(): void; } export declare const writeChangelogJson: (packagesDir: string, unreleased: boolean, getPackages?: (dir: string) => pkg.PkgAndDir[]) => Promise; export declare const writeChangelogJsonForPackage: (pkg: pkg.PkgAndDir, unreleased: boolean) => Promise; export declare const writeNextChangelogJson: (packagesDir: any) => Promise; export declare const writeReleasedChangelogJson: (packagesDir: any) => Promise; export declare const rmChangelogJson: (packagesDir: any, getPackages: (dir: string) => pkg.PkgAndDir[]) => Promise; export declare const rmNextChangelogJson: (packagesDir: string, getPackages: (dir: string) => pkg.PkgAndDir[]) => Promise; export declare const mergeChangelogs: (existing: { hash: string; }[], update: { hash: string; }[]) => { hash: string; }[]; export declare const changelogJson: (pk: { dir: string; pkg: any; }, opts: any) => Promise;