import { StyleProp, ViewStyle } from 'react-native';
import React from 'react';
import { PositionSlot } from '..';
/**
 * ScaleBar Props
 * @category Props
 */
export type ScalebarProps = {
    /**
     * 是否显示，可选，默认 `true`
     */
    visible?: boolean;
    /**
     * 配置项可选，默认值参见 `defaultOptions`
     */
    options?: Options;
    /**
     * 设置显示位置
     *
     * @defaultValue 'bottom'
     *
     * @example
     * ```
     * { right: 5, bottom: 5 }
     * 或者 'right'
     * ```
     */
    style?: PositionSlot | StyleProp<ViewStyle>;
};
type Unit = 'imperial' | 'metric' | 'nautical';
type Options = {
    maxWidth?: number;
    unit?: Unit;
};
/**
 * @example
 * ```
 * import Mapa, {Scalebar} from 'react-native-mapa';
import {SafeAreaView} from 'react-native';
import React from 'react';

function ScalebarView(): React.JSX.Element {
    return (
        <SafeAreaView style={{height: '100%'}}>
            <Mapa.MapView>
                <Scalebar />
            </Mapa.MapView>
        </SafeAreaView>
    );
}

export default ScalebarView;

 * ```
  @category Component
 */
declare const Scalebar: (props: ScalebarProps) => React.JSX.Element;
export default Scalebar;
//# sourceMappingURL=Scalebar.d.ts.map