import type { ScaleOpts } from './util';
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
import type { Feature, Region } from '@jbrowse/core/util';
export declare function drawLine(ctx: CanvasRenderingContext2D, props: {
    features: Map<string, Feature> | Feature[];
    regions: Region[];
    bpPerPx: number;
    scaleOpts: ScaleOpts;
    height: number;
    ticks: {
        values: number[];
    };
    displayCrossHatches: boolean;
    colorCallback: (f: Feature, score: number) => string;
    config: AnyConfigurationModel;
    offset?: number;
    stopToken?: string;
}): {
    reducedFeatures: Feature[];
};
