import type { PAG } from '../types';
export declare const writeBufferToWasm: (module: PAG, data: ArrayLike<number> | ArrayBufferLike) => {
    byteOffset: number;
    length: number;
    free: () => void;
};
export declare const readBufferFromWasm: (module: PAG, data: ArrayLike<number> | ArrayBufferLike, handle: (byteOffset: number, length: number) => boolean) => {
    data: Uint8Array;
    free: () => void;
};
