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