import { ScatterResponse } from '@carto/api-client';
import { ModelQueryFactory } from './utils/create-model';
import { ModelComponentProps, ModelHookResponse, ModelProps, ScatterWidgetProps } from './types';
export declare const getScatter: ModelQueryFactory<ScatterWidgetProps, ScatterResponse>;
/**
 * `useScatter` is a hook that creates scatter plot data for analyzing relationships between two numerical variables.
 * `ScatterModel` is the render-props component equivalent.
 *
 * @example
 * ```tsx
 * <ScatterModel
 *   accessToken={token}
 *   sourceId="my_source"
 *   widgetProps={{ xAxisColumn: 'income', yAxisColumn: 'spending' }}
 * >
 *   {({ data }) => <ScatterChart data={data} />}
 * </ScatterModel>
 * ```
 */
declare function useScatter<P extends ModelProps<ScatterWidgetProps, ScatterResponse>>(props: P): ModelHookResponse<P, ScatterResponse>;
declare function ScatterModel<P extends ModelProps<ScatterWidgetProps, ScatterResponse>>(props: ModelComponentProps<ScatterWidgetProps, ScatterResponse, P>): React.ReactElement;
export { useScatter, ScatterModel };
