import { type ComponentPropsWithoutRef, type HTMLAttributes, type ReactNode, type Ref } from 'react';
type LiveLocationStatus = 'idle' | 'loading' | 'found' | 'off-grid' | 'error';
type LiveLocationVariant = 'stage' | 'card' | 'inline';
type LiveLocationCoordinates = {
latitude: number;
longitude: number;
accuracy?: number | null;
};
type RequestLocation = () => Promise;
type LiveLocationProps = Omit, 'children' | 'color'> & {
accentColor?: string;
autoLocate?: boolean;
backgroundColor?: string;
borderColor?: string;
cardBackgroundColor?: string;
color?: string;
coordinates?: LiveLocationCoordinates;
errorLabel?: ReactNode;
formatCoordinates?: (coordinates: LiveLocationCoordinates) => ReactNode;
geolocationOptions?: PositionOptions;
gridColor?: string;
href?: string;
idleLabel?: ReactNode;
label?: string;
linkRel?: string;
linkTarget?: ComponentPropsWithoutRef<'a'>['target'];
loadingLabel?: ReactNode;
locationLabel?: ReactNode;
mutedColor?: string;
offGridLabel?: ReactNode;
onLocation?: (coordinates: LiveLocationCoordinates) => void;
onLocationError?: (error: unknown) => void;
paused?: boolean;
ref?: Ref;
requestLocation?: RequestLocation;
status?: LiveLocationStatus;
variant?: LiveLocationVariant;
};
declare const LiveLocation: ({ accentColor, autoLocate, backgroundColor, borderColor, cardBackgroundColor, className, color, coordinates, errorLabel, formatCoordinates, geolocationOptions, gridColor, href, idleLabel, label, linkRel, linkTarget, loadingLabel, locationLabel, mutedColor, offGridLabel, onLocation, onLocationError, paused, ref, requestLocation, status, style, variant, ...props }: LiveLocationProps) => import("react/jsx-runtime").JSX.Element;
export { LiveLocation };
export type { LiveLocationCoordinates, LiveLocationProps, LiveLocationStatus, LiveLocationVariant, };