export = decodeAndSanitize; /** * Decode raw OSC data and sanitize it into a flat array or bundle structure. * * @param {Buffer} data - Raw OSC buffer to decode. * @param {Function} [customDecode] - Optional decode function to use instead of the default. * @returns {Array|Object} A message array (address + values) or a sanitized bundle object. * @throws {Error} If the decoded data is not a valid OSC message or bundle. */ declare function decodeAndSanitize(data: Buffer, customDecode?: Function): any[] | any; //# sourceMappingURL=decode.d.ts.map