import type { ServerResponse } from 'node:http'; import type { FrameworkResponseCompression } from '@fluojs/http'; type Encoding = 'br' | 'gzip' | 'identity'; /** * Create node response compression. * * @param response The response. * @param acceptEncoding The accept encoding. * @returns The create node response compression result. */ export declare function createNodeResponseCompression(response: ServerResponse, acceptEncoding: string | undefined): FrameworkResponseCompression | undefined; /** * Compress node response. * * @param response The response. * @param body The body. * @param encoding The encoding. * @returns The compress node response result. */ export declare function compressNodeResponse(response: ServerResponse, body: Uint8Array, encoding: Exclude): Promise; export {}; //# sourceMappingURL=internal-node-compression.d.ts.map