import type { WebCompressor as WC, WebDecompressor as WD } from './napi.js';
/** ZStandard compress */
export declare const compressSync: (data: import("./common.js").BufferSource, level?: number) => Uint8Array<ArrayBuffer>;
/** ZStandard decompress */
export declare const decompressSync: (data: import("./common.js").BufferSource) => Uint8Array<ArrayBuffer>;
/** ZStandard compress */
export declare const compress: (data: import("./common.js").BufferSource | Blob, level?: number) => Promise<Uint8Array<ArrayBuffer>>;
/** ZStandard decompress */
export declare const decompress: (data: import("./common.js").BufferSource | Blob) => Promise<Uint8Array<ArrayBuffer>>;
/** Web stream ZStandard compressor */
export declare const compressor: (level?: number) => TransformStream<import("./common.js").BufferSource, Uint8Array<ArrayBuffer>>;
/** Web stream ZStandard decompressor */
export declare const decompressor: () => TransformStream<import("./common.js").BufferSource, Uint8Array<ArrayBuffer>>;
/** Web stream ZStandard compress transformer */
export declare const WebCompressor: typeof WC;
/** Web stream ZStandard decompress transformer */
export declare const WebDecompressor: typeof WD;
/** NodeJs Transform stream compressor */
export declare const Compressor: typeof import("./napi.js").Compressor;
/** NodeJs Transform stream decompressor */
export declare const Decompressor: typeof import("./napi.js").Decompressor;
/** The type of the current module. */
export declare const TYPE: (typeof import('./napi.js'))['TYPE'] | (typeof import('./wasm/index.js'))['TYPE'];
/** The version of the zstd library. */
export declare const ZSTD_VERSION: () => string;
declare const _default: null;
export default _default;
//# sourceMappingURL=index.d.ts.map