import { HardwareMidiPort } from '../midi/hardware-port.js'; import { type DerivedValue } from './decoded-patch-map.js'; export type DeepMindSnapshot = { rawSysexBase64: string; decodedPayloadBase64: string; decodedTrimmedBase64: string; derived?: Record; meta: { kind: string; cmd: string; protocol?: number; packedBytes: number; decodedLength: number; decodedTrimmedLength: number; trimmedCount: number; }; }; export declare function snapshotEditBuffer(opts: { port: HardwareMidiPort; deviceId: number; timeoutMs: number; }): Promise; /** * Read the current edit buffer, apply byte-level modifications, and write * the entire buffer back via sysex. This bypasses NRPN and is useful when * certain NRPN addresses don't respond to writes. */ export declare function patchEditBuffer(opts: { port: HardwareMidiPort; deviceId: number; timeoutMs: number; /** Map of decoded-byte offset → new value to apply before writing back. */ patches: Map; }): Promise<{ modifiedCount: number; decodedLength: number; }>;