import { MapApi, Position } from '../utils/mapTypes';
export type MapViewport = {
    center: Position;
    zoom: number;
};
export type MapViewportHistory = {
    entries: MapViewport[];
    canGoBack: boolean;
    goBack: () => void;
};
export type UseMapViewportHistoryOptions = {
    maxEntries?: number;
    centerDistanceThresholdMeters?: number;
    zoomThreshold?: number;
    zoomAnimation?: boolean;
    controlledViewport?: MapViewport;
};
export declare const defaultMapViewportHistory: MapViewportHistory;
export declare const useMapViewportHistory: (api: MapApi | undefined, { maxEntries, centerDistanceThresholdMeters, zoomThreshold, zoomAnimation, controlledViewport, }?: UseMapViewportHistoryOptions) => MapViewportHistory;
