import { CompressionAlgorithm } from "../types/global"; import GlobalContext from "../types/internal/classes/GlobalContext"; /** * Get the best compression using a header * @since 8.0.0 */ export default function getCompressMethod(doCompress: boolean, header: string, size: number, proxied: boolean, global: GlobalContext): CompressionAlgorithm | null;