import EsriRasterFunction from "@arcgis/core/layers/support/RasterFunction";
import type { OutputPixelType as EsriApiPixelType } from "../support/esri.js";
export declare namespace RenderingRule {
    /**
     * Converts an ArcGIS Portal JSON representation of a rendering rule to its
     * Esri JavaScript API equivalent.
     *
     * @deprecated Use "json/*" modules instead.
     * @param json The rendering rule JSON to convert.
     */
    function toEsriApiRasterFunction(json: RenderingRule): EsriRasterFunction;
    /**
     * Converts an Esri JavaScript API RasterFunction object to its ArcGIS
     * Portal JSON representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param rasterFunction The RasterFunction object to convert.
     */
    function fromEsriApiRasterFunction(rasterFunction: EsriRasterFunction): RenderingRule;
}
/**
 * Specifies the rendering rule for how the requested image should be rendered.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/renderingRule/}
 * {@link https://developers.arcgis.com/web-scene-specification/objects/renderingRule/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface RenderingRule {
    /**
     * Defines the pixel type of the output image. See {@link PixelType}.
     */
    outputPixelType?: PixelType;
    /**
     * The raster function name identifies the processing or rendering to be
     * performed. See
     * {@link http://resources.arcgis.com/en/help/arcgis-rest-api/#/Raster_Function_Objects/02r3000000rv000000/}.
     */
    rasterFunction?: string;
    /**
     * The arguments for the referenced rasterFunction.
     */
    rasterFunctionArguments?: Record<string, unknown>;
    /**
     * Variable name for the raster function.
     */
    variableName?: string;
}
/**
 * Pixel type for RenderingRule.
 *
 * @deprecated Use "json/*" modules instead.
 */
export type PixelType = "C128" | "C64" | "F32" | "F64" | "S16" | "S32" | "S8" | "U1" | "U16" | "U2" | "U32" | "U4" | "U8" | "UNKNOWN";
export declare namespace PixelType {
    /**
     * Converts from pixel type constants used in the Esri JavaScript API to
     * their ArcGIS Portal equivalents.
     *
     * @deprecated Use "json/*" modules instead.
     * @param apiPixelType The ArcGIS JavaScript API pixel type.
     */
    function fromEsriApiPixelType(apiPixelType: string): PixelType;
    /**
     * Converts from pixel type constants used in ArcGIS Portal to their Esri
     * JavaScript API equivalents.
     *
     * @deprecated Use "json/*" modules instead.
     * @param pixelType The Portal JSON pixel type.
     */
    function toEsriApiPixelType(pixelType: string): EsriApiPixelType;
}
