/** Buffer data */
export type BufferSource = ArrayBufferView | ArrayBuffer;
/** warp module */
export declare function createModule(options: {
    compressSync: (data: Uint8Array, level: number) => Uint8Array<ArrayBuffer>;
    compress: (data: Uint8Array | Blob, level: number) => Promise<Uint8Array<ArrayBuffer>>;
    decompressSync: (data: Uint8Array) => Uint8Array<ArrayBuffer>;
    decompress: (data: Uint8Array | Blob) => Promise<Uint8Array<ArrayBuffer>>;
    Compressor: new (level: number) => Transformer<BufferSource, Uint8Array<ArrayBuffer>>;
    Decompressor: new () => Transformer<BufferSource, Uint8Array<ArrayBuffer>>;
    TransformStream: typeof globalThis.TransformStream;
}): {
    /** ZStandard compress */
    compressSync: (data: BufferSource, level?: number) => Uint8Array<ArrayBuffer>;
    /** ZStandard compress */
    compress: (data: BufferSource | Blob, level?: number) => Promise<Uint8Array<ArrayBuffer>>;
    /** ZStandard decompress */
    decompressSync: (data: BufferSource) => Uint8Array<ArrayBuffer>;
    /** ZStandard decompress */
    decompress: (data: BufferSource | Blob) => Promise<Uint8Array<ArrayBuffer>>;
    /** create ZStandard stream compressor */
    compressor: (level?: number) => TransformStream<BufferSource, Uint8Array<ArrayBuffer>>;
    /** create ZStandard stream decompressor */
    decompressor: () => TransformStream<BufferSource, Uint8Array<ArrayBuffer>>;
};
export declare const createZSTD_VERSION: (versionNumber: () => number) => (() => string);
//# sourceMappingURL=common.d.ts.map