import type Layer from "@arcgis/core/layers/Layer";
import type RouteLayer from "@arcgis/core/layers/RouteLayer";
import type PortalItem from "@arcgis/core/portal/PortalItem";
import type { QuerySourceCapabilities } from "../data/QuerySourceCapabilities.js";
import type { Schema } from "../data/Schema.js";
import { type FeatureLayerJson } from "../json/FeatureLayerJson.js";
import type { PropertyDefs } from "../support/Serializable.js";
import type { LayerExtensionProperties, LayerProperties } from "./_LayerExtension.js";
import { LayerExtension, LayerExtensionSchema } from "./_LayerExtension.js";
/**
 * Ref type for route layer extension.
 */
export declare const ROUTE_LAYER_TYPE = "route-layer";
/**
 * Properties that can be passed into the constructor for
 * {@link RouteLayerExtension}.
 */
export interface RouteLayerExtensionProperties extends LayerExtensionProperties {
    /**
     * The Esri RouteLayer object being extended.
     */
    layer?: RouteLayer | (FeatureLayerJson & LayerProperties);
}
/**
 * Extends the capabilities of an Esri RouteLayer object.
 */
export declare class RouteLayerExtension extends LayerExtension<RouteLayerExtensionProperties> {
    get hasFeatures(): boolean;
    get layer(): RouteLayer;
    get supportsSublayers(): boolean;
    constructor(properties?: RouteLayerExtensionProperties);
    protected _onInitialize(): Promise<void>;
    protected _applyLayerProperties(properties: LayerProperties, layer: Layer): Promise<void>;
    protected _getSerializableProperties(): PropertyDefs<RouteLayerExtensionProperties>;
    /**
     * @inheritDoc
     */
    protected _isSupportedLayer(layer: Layer): boolean;
    protected _applyPortalItemProperties(portalItem: PortalItem): Promise<void>;
    protected _capabilities(): QuerySourceCapabilities;
    protected _getSerializableLayerType(): string;
    protected _getSerializableRefLayerProperties(): Record<string, unknown>;
    protected _createSchema(): Schema;
}
/**
 * An implementation of Schema that allows for schema properties to directly
 * mirror equivalent properties on a RouteLayer.
 */
export declare class RouteLayerExtensionSchema extends LayerExtensionSchema {
    get hasGeometry(): boolean;
}
