import { ModuleCompute, ModuleDefinition } from '@nodescript/core/types';
type P = {
    buffer: ArrayBuffer;
    encoding: 'utf-8' | 'binary' | 'iso-8859-1' | 'utf-16le';
};
type R = string;
export declare const module: ModuleDefinition<P, R>;
export declare const compute: ModuleCompute<P, R>;
export {};
