/** * Highlight imagery of listed users and organizations (iD Radnetz fork, feature 18). * Tiles only carry `creator_id` and `organization_id`. Usernames resolve to creator ids with * `images?creator_username=`; organization slugs by resolving each organization id seen in the * tiles with `/{id}?fields=slug`. Everything is cached for the lifetime of the resolver. */ export type HighlightSubject = { creatorId?: string | null; organizationId?: string | null; }; export declare const createMapillaryHighlightResolver: (onResolved?: () => void) => { /** * Whether the subject belongs to a listed user or organization. Starts lookups for what is not * known yet and calls `onResolved` when they finish, so the caller can re-render. */ isHighlighted: (subject: HighlightSubject, users: string[], orgs: string[]) => boolean; /** Creator ids of the usernames resolved so far (for map filters by `creatorId`). */ creatorIdsOf: (users: string[]) => string[]; };