/// <reference types="node" />
declare type ChangeType = 'Added' | 'Changed' | 'Deleted';
declare type ItemType = 'block' | 'transaction' | 'storage' | 'headerHashList';
export interface ChangeReturn {
    readonly type: ChangeType;
    readonly itemType: ItemType;
    readonly key: Buffer;
    readonly value: Buffer;
}
export interface PutBatch {
    readonly type: 'put';
    readonly key: Buffer;
    readonly value: Buffer;
}
export interface DeleteBatch {
    readonly type: 'del';
    readonly key: Buffer;
}
declare type Batch = PutBatch | DeleteBatch;
export declare const parseChangeReturns: (changes: readonly ChangeReturn[]) => readonly Batch[];
export {};
