import { QueryDef } from '../types.js';
export type Item = {
    id: number;
} & {
    [key: string]: any;
};
export type AggItem = Partial<Item>;
export declare const readAllFields: (q: QueryDef, result: Uint8Array, offset: number, end: number, item: Item, id: number) => number;
export declare const resultToObject: (q: QueryDef, result: Uint8Array, end: number, offset?: number) => any;
