import type { ICopyFilesArguments } from './commandLine'; import { type CppCodeSource, type CppCodeSources, type ExtensionGroups } from './cppCode'; type ProcessingSummary = { filecount: number; size: number; gzipsize: number; }; declare const shouldUseGzip: (originalSize: number, compressedSize: number) => boolean; declare const calculateCompressionRatio: (originalSize: number, compressedSize: number) => number; declare const formatCompressionLog: (filename: string, padding: string, originalSize: number, compressedSize: number, useGzip: boolean) => string; declare const formatSize: (bytes: number) => string; declare const formatSizePrecise: (bytes: number) => string; declare const createSourceEntry: (filename: string, dataname: string, content: Buffer, contentGzip: Buffer, mimeType: string, sha256: string, isGzip: boolean) => CppCodeSource; declare const updateExtensionGroup: (filesByExtension: ExtensionGroups, extension: string) => void; declare const formatDryRunRoutes: (sources: CppCodeSources, engine: "psychic" | "async" | "espidf" | "webserver", basePath: string, spa: boolean) => string; declare const formatAnalyzeTable: (sources: CppCodeSources, summary: ProcessingSummary, maxSize: number | undefined, maxGzipSize: number | undefined) => string; export type PreviousManifestFile = { path: string; size: number; sha256?: string; }; export declare class OverBudgetError extends Error { readonly name = "OverBudgetError"; constructor(); } declare const formatChangeSummary: (sources: CppCodeSources, previousFiles: PreviousManifestFile[]) => string; export declare function runPipeline(options: ICopyFilesArguments): void; export { calculateCompressionRatio, createSourceEntry, formatAnalyzeTable, formatChangeSummary, formatCompressionLog, formatDryRunRoutes, formatSize, formatSizePrecise, shouldUseGzip, updateExtensionGroup };