/** * Filter - PDF compression and decompression filters * * This implementation mirrors the Rust `pdf::filter` module for 100% API compatibility. */ import { type FilterType } from './types.js'; /** * Compress data using FlateDecode (zlib deflate) */ export declare function flateEncode(data: Uint8Array): Uint8Array; /** * Decompress FlateDecode (zlib inflate) data */ export declare function flateDecode(data: Uint8Array): Uint8Array; /** * Encode data to ASCII hex */ export declare function asciiHexEncode(data: Uint8Array): Uint8Array; /** * Decode ASCII hex data */ export declare function asciiHexDecode(data: Uint8Array): Uint8Array; /** * Encode data to ASCII85 */ export declare function ascii85Encode(data: Uint8Array): Uint8Array; /** * Decode ASCII85 data */ export declare function ascii85Decode(data: Uint8Array): Uint8Array; /** * Encode data using Run-Length Encoding */ export declare function runLengthEncode(data: Uint8Array): Uint8Array; /** * Decode Run-Length encoded data */ export declare function runLengthDecode(data: Uint8Array): Uint8Array; /** * Decode LZW compressed data */ export declare function lzwDecode(data: Uint8Array, earlyChange?: boolean): Uint8Array; /** * Decode data using the specified filter */ export declare function decodeFilter(filter: FilterType, data: Uint8Array, params?: Record): Uint8Array; /** * Encode data using the specified filter */ export declare function encodeFilter(filter: FilterType, data: Uint8Array, _params?: Record): Uint8Array; //# sourceMappingURL=filter.d.ts.map