import { type FailCallbackResult, type PickOptions } from '../../core';
export interface GetLocationResult {
    latitude: number;
    longitude: number;
}
export interface GetLocationOptions {
    success?: (result: GetLocationResult) => void;
    fail?: (err: FailCallbackResult) => void;
}
/**
 * 获取GPS定位
 */
export declare const getLocation: <T extends GetLocationOptions = GetLocationOptions>(options?: T | undefined) => import("../../core").PromisifySuccessResult<PickOptions<T>, GetLocationOptions>;
