import { type WasmComplexityAnalysis } from "../wasm.js"; export declare const IC_FUNCTION_COMPLEXITY_LIMIT = 1000000; export declare const EARLY_COMPLEXITY_THRESHOLD = 750000; export declare const CRITICAL_COMPLEXITY_THRESHOLD = 900000; export type ComplexitySeverity = "none" | "early" | "critical"; export interface WasmPreflightDiagnostic { message: string; } export interface WasmPreflightReport { diagnostics: WasmPreflightDiagnostic[]; } export declare function classifyComplexity(complexity: number): ComplexitySeverity; export declare function formatWasmPreflightReport(canisterName: string, analysis: WasmComplexityAnalysis): WasmPreflightReport; export declare function runWasmComplexityPreflight(canisterName: string, wasm: Uint8Array): WasmPreflightReport;