export declare const PUBLIC_RESULT_BYTES: number; export declare function receiptWireBytes(toolCallId: string, message: string, details: Readonly>, terminate?: boolean): number; export interface ProjectionCursorScope { rootId: string; callerId: string; view: string; filter: string; revision: number; } export declare function encodeProjectionCursor(scope: ProjectionCursorScope, key: string): string; export declare function decodeProjectionCursor(value: string | undefined, expected: ProjectionCursorScope): string | undefined; export declare function buildBytePage(options: { items: readonly T[]; afterKey?: string; keyOf: (item: T) => string; requestedLimit: number; scope: ProjectionCursorScope; buildDetails: (items: readonly T[], nextCursor: string | undefined, remaining: number) => Record; measureDetails: (details: Readonly>) => number; }): Record;