import { type RedisValue } from './engine.js'; export declare const binaryText: (b: Uint8Array) => string; export declare const binaryBytes: (s: string) => Uint8Array; export type Frame = { value: any; end: number; error?: boolean; type: string; }; export declare function readResp(s: string, start?: number): Frame | undefined; export declare function respReply(value: RedisValue | { error: string; } | Record): string; export declare const commandFrame: (command: string[]) => Uint8Array; export declare function inlineCommand(line: string): string[]; /** Carry RESP integer/status tags across an internal JSON request without losing int64 bytes. */ export declare function wireValue(value: any): any;