import type { EmscriptenModule, SolverOptions, SolveResult } from './types.js'; /** Low-level wrapper around the HiGHS optimization solver. */ export declare class HiGHS { private module; private highsPtr; private freed; protected constructor(module: EmscriptenModule, highsPtr: number); /** Creates a new HiGHS solver instance. */ static create(options?: SolverOptions): Promise; /** Parses a problem from a string in the given format (e.g., 'lp', 'mps'). */ parse(content: string, format: string): Promise; /** Sets a HiGHS option by name. Supports boolean, integer, real, and string values. */ setParam(name: string, value: boolean | number | string): void; /** Solves the loaded problem and returns the result. */ solve(): Promise; private extractSolution; /** Frees the HiGHS instance. Safe to call multiple times. */ free(): void; private ensureNotFreed; } //# sourceMappingURL=solver.d.ts.map