/** * Builds the callable `engine.environment` — a function with `.measure()` on it. * * A function rather than an object because the common case is asking for the * whole report, and `environment()` should be the short spelling of that. * * @param {import("./engine.js").ScheduledEngine} engine */ export function environmentFacade(engine: import("./engine.js").ScheduledEngine): { (opts?: {}): Promise<{ lines: { id: any; severity: any; affects: any; cause: any; fix: any; operable: boolean; }[]; speed?: any; scope: string; ok: boolean; severity: any; device: any; }>; measure({ tokens }?: { tokens?: number; }): Promise<{ tokens: number; tokensPerSecond: number; basis: "measured" | "extrapolated"; modelBytes: number; bytesPerSecond: number; reference?: string; modelId: string; }>; }; export namespace SEVERITY { let BLOCKED: string; let DEGRADED: string; let TUNE: string; let INFO: string; let OK: string; }