/**
 * @fileoverview WASI to TagLibModule adapter
 *
 * Adapts a WASI module interface to the TagLibModule interface,
 * providing Emscripten-compatible memory access and string operations.
 */
import type { FileHandle, TagLibModule } from "../../wasm.js";
import type { WasiModule } from "../wasmer-sdk-loader/types.js";
export declare class WasiToTagLibAdapter implements TagLibModule {
    private readonly wasi;
    private readonly heap;
    constructor(wasiModule: WasiModule);
    FileHandle: new () => FileHandle;
    get ready(): Promise<this>;
    get HEAP8(): Int8Array;
    get HEAP16(): Int16Array;
    get HEAPU8(): Uint8Array;
    get HEAP32(): Int32Array;
    get HEAPU16(): Uint16Array;
    get HEAPU32(): Uint32Array;
    get HEAPF32(): Float32Array;
    get HEAPF64(): Float64Array;
    _malloc(size: number): number;
    _free(ptr: number): void;
    _realloc(ptr: number, newSize: number): number;
    UTF8ToString(ptr: number): string;
    stringToUTF8(str: string, ptr: number, maxBytes: number): number;
    lengthBytesUTF8(str: string): number;
    createFileHandle(): FileHandle;
    version(): string;
    addFunction(_func: any): number;
    removeFunction(_ptr: number): void;
    cwrap(_name: string, _returnType: string | null, _argTypes: string[]): any;
    ccall(_name: string, _returnType: string | null, _argTypes: string[], _args: any[]): any;
}
//# sourceMappingURL=adapter.d.ts.map