import type { ScaleOpts } from './util.ts'; import type { AnyConfigurationModel } from '@jbrowse/core/configuration'; import type { Feature, Region } from '@jbrowse/core/util'; import type { LastStopTokenCheck, StopToken } from '@jbrowse/core/util/stopToken'; export declare function drawDensity(ctx: CanvasRenderingContext2D, props: { features: Map | Feature[]; regions: Region[]; bpPerPx: number; scaleOpts: ScaleOpts; height: number; ticks: { values: number[]; }; displayCrossHatches: boolean; config: AnyConfigurationModel; stopToken?: StopToken; lastCheck?: LastStopTokenCheck; }): { reducedFeatures: Feature[]; };