type ScalarValue = number | bigint | { re: number; im: number; } | unknown; interface TypedFunction { (name: string, signatures: Record T>): T; } interface MatrixConstructor { (data: ScalarValue[] | ScalarValue[][]): DenseMatrix | SparseMatrix; } /** Structural type of the DenseMatrix values that `lsolveAll` uses. */ export interface DenseMatrix { type: 'DenseMatrix'; isDenseMatrix: true; _data: ScalarValue[][]; _size: number[]; _datatype?: string; valueOf(): ScalarValue[][]; } interface SparseMatrix { type: 'SparseMatrix'; isSparseMatrix: true; _values?: ScalarValue[]; _index: number[]; _ptr: number[]; _size: number[]; _datatype?: string; valueOf(): ScalarValue[][]; } interface DenseMatrixConstructor { new (data: { data: ScalarValue[][]; size: number[]; datatype?: string; }): DenseMatrix; } interface ScalarFunction { (a: ScalarValue, b: ScalarValue): ScalarValue; } interface EqualScalarFunction { (a: ScalarValue, b: ScalarValue): boolean; } interface Dependencies { typed: TypedFunction; matrix: MatrixConstructor; divideScalar: ScalarFunction; multiplyScalar: ScalarFunction; subtractScalar: ScalarFunction; equalScalar: EqualScalarFunction; DenseMatrix: DenseMatrixConstructor; } export declare const createLsolveAll: import("../../utils/factory.js").FactoryFunction; export {}; //# sourceMappingURL=lsolveAll.d.ts.map