/** * Node.js conveniences — `audiobox/node`. * * Deliberately the *only* module that imports from `node:*`. Core stays free of * runtime-specific APIs so it works unchanged in browsers, Deno, Bun, and edge * runtimes; the Node-flavoured sugar lives here, behind its own subpath, where * a bundler targeting the browser will never pull it in. */ import { Audio } from '../audio.js'; import { decode, encode } from '../codec.js'; import type { DecodeOptions } from '../types.js'; import type { EncodableFormat, EncodeOptionsByFormat } from '../codec.js'; /** Reads and decodes an audio file from disk. */ export declare function readAudioFile(path: string, options?: DecodeOptions): Promise