import { LuxonTimeScale } from "./axisutil.mjs"; import { SeismogramSegment } from "./seismogramsegment.mjs"; import { SeismogramDisplayData } from "./seismogram.mjs"; import type { ScaleLinear } from "d3-scale"; export declare const DEFAULT_MAX_SAMPLE_PER_PIXEL = 3; export declare const DEFAULT_GRID_LINE_COLOR = "gainsboro"; export declare function clearCanvas(canvas: HTMLCanvasElement): void; export declare function drawXScaleGridLines(canvas: HTMLCanvasElement, xScale: ScaleLinear | LuxonTimeScale, colorname?: string, lineWidth?: number): void; export declare function drawYScaleGridLines(canvas: HTMLCanvasElement, yScale: ScaleLinear, colorname?: string, lineWidth?: number): void; export declare function drawAllOnCanvas(canvas: HTMLCanvasElement, sddList: Array, xScaleList: Array, yScaleList: Array>, colornameList: Array, lineWidth?: number, connectSegments?: boolean, maxSamplePerPixelForLineDraw?: number): void; export declare function drawSeismogramAsLine(sdd: SeismogramDisplayData, context: CanvasRenderingContext2D, width: number, xScale: LuxonTimeScale, yScale: ScaleLinear, color: string, lineWidth?: number, connectSegments?: boolean, maxSamplePerPixelForLineDraw?: number): void; export type XYLine = { x: Array; y: Array; samplesPerPixel: number; maxSamplePerPixelForLineDraw: number; }; export declare function seismogramSegmentAsLine(segment: SeismogramSegment | null, width: number, xScale: LuxonTimeScale, yScale: ScaleLinear, maxSamplePerPixelForLineDraw?: number): XYLine; export declare function pushPoint(out: XYLine, xpixel: number, ypixel: number): void; export declare function rgbaForColorName(name: string): Uint8ClampedArray; //# sourceMappingURL=seismographutil.d.mts.map