import type { NormalizedPhoto, ProviderId } from '../providers/model'; export type PhotoSequenceGroup = { providerId: ProviderId; sequenceId: string; groupKey: string; photos: NormalizedPhoto[]; distanceMeters: number; }; export declare const sequenceGroupKey: (providerId: ProviderId, sequenceId: string) => string; export declare const photoGroupSequenceId: (photo: NormalizedPhoto) => string; export declare const distanceToPhoto: (photo: NormalizedPhoto, lng: number, lat: number) => number; export declare const findNearestPhoto: (photos: NormalizedPhoto[], lng: number, lat: number) => NormalizedPhoto | null; /** Remove photos within minDistanceMeters of an earlier photo in the same sequence. */ export declare const dedupeNearbyPhotos: (photos: NormalizedPhoto[], minDistanceMeters?: number) => NormalizedPhoto[]; export declare const groupClickedPhotos: (photos: NormalizedPhoto[], lng: number, lat: number) => PhotoSequenceGroup[]; export declare const findGroupBySelection: (groups: PhotoSequenceGroup[], providerId: ProviderId, sequenceId: string) => PhotoSequenceGroup | null; export declare const STREETSIDE_NEARBY_LIMIT = 15;