/// <reference types="@arcgis/core/interfaces.d.ts" />
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer.js';
/**
 * Returns true if the value is defined
 *
 * @param value - value to check
 */
export declare function isDefined<T>(value: T | null | undefined): value is T;
/**
 * Find an element up the DOM tree.
 * @param el - HTMLElement
 * @param selector - Selector
 */
export declare function queryParentElement(el: HTMLElement | undefined, selector: string): HTMLElement | undefined;
/**
 * Returns feature count of layer
 * @param layer - FeatureLayer | WFSLayer | OGCFeatureLayer | StreamLayer | CSVLayer
 * @param mapView - View
 */
export declare function getFeatureCount(layer: __esri.CatalogFootprintLayer | __esri.CatalogLayer | __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.KnowledgeGraphSublayer | __esri.OGCFeatureLayer | __esri.OrientedImageryLayer | __esri.SceneLayer | __esri.StreamLayer | __esri.Sublayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer | __esri.WFSLayer, view?: __esri.View): Promise<number>;
/**
 * Returns feature count of feature collection layer
 * @param layer - FeatureLayer
 */
export declare function getFeatureCountForCollection(layer: __esri.FeatureLayer): Promise<number>;
export declare function supportsFieldConfiguration(layer: unknown): layer is FeatureLayer;
export declare function isFeatureLayer(layer: unknown): layer is FeatureLayer;
export declare function isFeatureServiceLayer(layer: any): layer is FeatureLayer;
