import type { NumberArray, NumberMatrix } from 'cheminfo-types'; import { BasicContourDrawer } from './BasicContourDrawer.ts'; import { ShapeContourDrawer } from './ShapeContourDrawer.ts'; interface ConrecOptions { xs?: Readonly; ys?: Readonly; swapAxes?: boolean; } export type ContourDrawer = BasicContourDrawer | ShapeContourDrawer; export type ContourDrawerName = 'basic' | 'shape'; type ContourDrawerByName = DrawerName extends 'basic' ? BasicContourDrawer : ShapeContourDrawer; export interface DrawContourResult { contours: ReturnType['getContour']>; timeout: boolean; } export declare class Conrec { matrix: Readonly; rows: number; columns: number; xs: Readonly; ys: Readonly; swapAxes: boolean; hasMinMax: boolean; min: number; max: number; constructor(matrix: Readonly, options?: ConrecOptions); drawContour(options: { levels?: readonly number[]; nbLevels?: number; contourDrawer?: DrawerName; timeout?: number; }): DrawContourResult; _computeMinMax(): void; } export {}; //# sourceMappingURL=index.d.ts.map