import { decodeResult, encodeResult } from 'silk-wasm';
export declare function encode(input: Buffer | Uint8Array | string, sampleRate: number): Promise<encodeResult>;
export declare function decode(input: Buffer | Uint8Array | string, sampleRate: number): Promise<decodeResult>;
export declare function getDuration(input: Buffer | Uint8Array | string, frameMs?: number): Promise<number>;
