import { inspect } from 'node:util';
import { QueryDef } from './types.js';
import { Item } from './query.js';
import { size, time, inspectData } from './display.js';
export { time, size, inspectData };
export declare class BasedQueryResponse {
    result: Uint8Array;
    def: QueryDef;
    execTime: number;
    end: number;
    id: number;
    constructor(id: number, def: QueryDef, result: Uint8Array, execTime: number, end?: number);
    get version(): number;
    get size(): number;
    [inspect.custom](depth: number): string;
    debug(): this;
    node(index?: number): any;
    [Symbol.iterator](): Generator<Item, void, unknown>;
    inspect(depth?: number, raw?: boolean): this;
    forEach(fn: (item: any, key: number) => void): void;
    map(fn: (item: any, key: number) => any): any[];
    get checksum(): number;
    get length(): number;
    toObject(): any;
    toJSON(): string;
    toString(): string;
}
