/// <reference types="@arcgis/core/interfaces.d.ts" />
import { ComponentProps, FieldInfoLayer } from './';
/**
 * Returns up to 5 features from the layer to get sample data
 *
 * @param props - properties containing layer and view
 */
export declare function getOneFeature(props: ComponentProps): Promise<__esri.FeatureSet>;
/**
 * Returns feature count of layer
 *
 * @param layer - FeatureLayer | WFSLayer | OGCFeatureLayer | StreamLayer | CSVLayer
 * @param mapView - View
 */
export declare function getFeatureCountCommon(layer: FieldInfoLayer, view?: __esri.View): Promise<number | undefined>;
/**
 * Returns feature count of feature collection layer
 *
 * @param layer - FeatureLayer
 */
export declare function getFeatureCountForCollection(layer: __esri.FeatureLayer): Promise<number>;
