import type BigNumber from 'bignumber.js'; import type { Complex } from 'complex.js'; /** Scalar types supported by det */ type Scalar = number | BigNumber | Complex; /** Nested array of scalar values */ type NestedArray = T | NestedArray[]; /** Matrix data can be nested arrays of scalars */ type MatrixData = NestedArray; /** Matrix interface */ interface Matrix { type: string; storage(): string; datatype(): string | undefined; size(): number[]; clone(): Matrix; toArray(): MatrixData; valueOf(): MatrixData; _data?: MatrixData; _size?: number[]; _datatype?: string; } /** Typed function interface for math.js functions */ interface TypedFunction { (...args: unknown[]): R; find(func: TypedFunction, signature: string[]): TypedFunction; } /** Matrix constructor function */ interface MatrixConstructor { (data: Scalar[] | Scalar[][], storage?: 'dense' | 'sparse'): Matrix; } /** Dependencies for det factory */ interface Dependencies { typed: TypedFunction; matrix: MatrixConstructor; subtractScalar: TypedFunction; multiply: TypedFunction; divideScalar: TypedFunction; isZero: TypedFunction; unaryMinus: TypedFunction; } export declare const createDet: import("../utils/factory.js").FactoryFunction; export {}; //# sourceMappingURL=det.d.ts.map