import { StyleProp, ViewStyle } from 'react-native';
import { PositionSlot, WeatherData, WeatherReuqest } from '../../mapa';
import React from 'react';
/**
 * Weather props
 *
 * @category Props
 */
export type WeatherProps = {
    /**
     * Weather REST请求key
     */
    akey: string;
    /**
     * 天气请求接口扩展
     * 默认实现了amap的weather rest服务请求
     */
    request?: WeatherReuqest;
    /**
     * 默认显示在屏幕右下角，可设置style自定义位置
     * @example
     * ```
     * { right: 5, bottom: 5 }
     * 或者 'right'
     * ```
     */
    style?: PositionSlot | StyleProp<ViewStyle>;
    /**
     * 自定义天气预报详情组件
     * @param {WeatherData} props
     * @returns
     */
    detailEle?: (props: WeatherData) => React.ReactElement | null;
};
/**
  @category Component
 */
declare const Weather: (props: WeatherProps) => React.JSX.Element;
export default Weather;
//# sourceMappingURL=index.d.ts.map