import { OnFailCallback } from './invoker'; import { GeolocationResult } from './getGeolocation'; export interface startTraceReportParams { traceId: string; collectPeriod?: number; reportPeriod?: number; onSuccess?: (traceResult: GeolocationResult) => void; onFail?: (error: OnFailCallback) => void; } declare function startTraceReport(params: startTraceReportParams): Promise<{}>; declare namespace startTraceReport { var version: { android: string; ios: string; }; } export default startTraceReport;