import type { ColorRamp } from 'style/style.spec.js';
/**
 * Build a color ramp given a string defined ramp style or ramp guide
 * @param ramp - string defined ramp style or ramp guide
 * @param lch - whether or not to use lch
 * @returns Uint8ClampedArray
 */
export declare function buildColorRamp(ramp: ColorRamp, lch?: boolean): Uint8ClampedArray;
/** An output for a dash image */
export interface DashImage {
    length: number;
    dashCount: number;
    image: Uint8ClampedArray;
}
/**
 * Build a dash image
 * @param dasharray - dash array
 * @param devicePixelRatio - device pixel ratio
 * @returns the dash image
 */
export declare function buildDashImage(dasharray: Array<[length: number, color: string]>, devicePixelRatio: number): DashImage;
