import React, { type ComponentType } from 'react';
import type { Coords } from 'stream-chat';
export type ShareGeolocationMapProps = Partial<Coords> & {
    loadingLocation: boolean;
    restartLocationWatching: () => void;
    geolocationPositionError?: GeolocationPositionError;
};
export type ShareLocationDialogProps = {
    close: () => void;
    shareDurations?: number[];
    GeolocationMap?: ComponentType<ShareGeolocationMapProps>;
    DurationDropdownItems?: ComponentType<DurationDropdownItemsProps>;
};
export declare const ShareLocationDialog: ({ close, GeolocationMap, shareDurations, }: ShareLocationDialogProps) => React.JSX.Element;
export type DurationDropdownItemsProps = {
    durations: number[];
    selectDuration: (duration: number) => void;
};
