/**
 * @typedef {"unitsPerPixel"} MultiscaleMetric
 * @typedef {"x" | "y" | "auto"} MultiscaleChannel
 * @typedef {number | import("../spec/parameter.js").ExprRef} StopValue
 *
 * @typedef {{
 *     metric: MultiscaleMetric;
 *     values: StopValue[];
 *     channel: MultiscaleChannel;
 *     fade: number;
 * }} ParsedStops
 */
/**
 * @param {object} spec
 * @returns {spec is import("../spec/view.js").MultiscaleSpec}
 */
export function isMultiscaleSpec(spec: object): spec is import("../spec/view.js").MultiscaleSpec;
/**
 * Converts a multiscale spec into a regular layer spec by wrapping each stage
 * into a generated opacity layer.
 *
 * @param {import("../spec/view.js").MultiscaleSpec} spec
 * @returns {import("../spec/view.js").LayerSpec}
 */
export function normalizeMultiscaleSpec(spec: import("../spec/view.js").MultiscaleSpec): import("../spec/view.js").LayerSpec;
export type MultiscaleMetric = "unitsPerPixel";
export type MultiscaleChannel = "x" | "y" | "auto";
export type StopValue = number | import("../spec/parameter.js").ExprRef;
export type ParsedStops = {
    metric: MultiscaleMetric;
    values: StopValue[];
    channel: MultiscaleChannel;
    fade: number;
};
//# sourceMappingURL=multiscale.d.ts.map