import React, { type Dispatch, type PropsWithChildren, type SetStateAction } from 'react';
import { type LatLng } from '../util';
export type Size = {
    width: number;
    height: number;
};
export type Point = {
    x: number;
    y: number;
};
export type Vector = [number, number, number];
export type GlobeContextType = {
    size: Size;
    center: LatLng;
    scale: number;
    translation: Point;
    rotation: Vector;
    setCenter: Dispatch<SetStateAction<LatLng>>;
    setScale: Dispatch<SetStateAction<number>>;
    setTranslation: Dispatch<SetStateAction<Point>>;
    setRotation: Dispatch<SetStateAction<Vector>>;
};
export type GlobeContextProviderProps = PropsWithChildren<Partial<Pick<GlobeContextType, 'size' | 'center' | 'scale' | 'translation' | 'rotation'>>>;
export declare const GlobeContextProvider: ({ children, size, center: _center, scale: _scale, translation: _translation, rotation: _rotation, }: GlobeContextProviderProps) => React.JSX.Element;
export declare const useGlobeContext: () => GlobeContextType;
//# sourceMappingURL=context.d.ts.map