import { FeaturesResponse } from '@carto/api-client';
import { ModelQueryFactory } from './utils/create-model';
import { FeaturesWidgetProps, ModelComponentProps, ModelHookResponse, ModelProps } from './types';
export declare const getFeatures: ModelQueryFactory<FeaturesWidgetProps, FeaturesResponse>;
/**
 * `useFeatures` is a hook that retrieves geospatial feature data (GeoJSON) with associated properties for spatial analysis.
 * `FeaturesModel` is the render-props component equivalent.
 */
declare function useFeatures<P extends ModelProps<FeaturesWidgetProps, FeaturesResponse>>(props: P): ModelHookResponse<P, FeaturesResponse>;
declare function FeaturesModel<P extends ModelProps<FeaturesWidgetProps, FeaturesResponse>>(props: ModelComponentProps<FeaturesWidgetProps, FeaturesResponse, P>): React.ReactElement;
export { useFeatures, FeaturesModel };
