import type { _HKQuery } from "./HKQuery.js";
import type { _HKWorkoutRoute } from "./HKWorkoutRoute.js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSDateInterval } from "../Foundation/NSDateInterval.js";
import type { _NSError } from "../Foundation/NSError.js";
export declare class _HKWorkoutRouteQuery extends _HKQuery {
    static alloc(): _HKWorkoutRouteQuery;
    static new(): _HKWorkoutRouteQuery;
    init(): _HKWorkoutRouteQuery;
    /**
     * @method initWithRoute:dataHandler: @abstract Returns a query that will retrieve CLLocation objects for the specified workoutRoute. @param workoutRoute The HKWorkoutRoute for which the location data will be returned. @param dataHandler The block to invoke with results from the query. It is called repeatedly with an array of CLLocation objects until all data is returned and the done parameter is YES or if HKHealthStore stopQuery: is called. The stopQuery call can be made within the dataHandler block. The number of objects returned in routeData per dataHandler call is unspecified. Once done is YES, or stopQuery called, the query is complete and no more calls to the handler will be made.
     */
    initWithRoute$dataHandler$(workoutRoute: _HKWorkoutRoute, dataHandler: ((query: _HKWorkoutRouteQuery, routeData: _NSArray, done: boolean, error: _NSError) => void) | null): _HKWorkoutRouteQuery;
    /**
     * @method initWithRoute:dateInterval:dataHandler: @abstract Returns a query that will retrieve CLLocation objects for the specified workoutRoute and dateInterval. @param workoutRoute The HKWorkoutRoute for which the location data will be returned. @param dateInterval The date interval for which the location data will be returned. If the requested interval does not overlap with the specified workout route sample, an empty array of results is returned. If the requested interval partially overlaps with the specified workout route sample, only location data from within that overlapping time period is returned. @param dataHandler The block to invoke with results from the query. It is called repeatedly with an array of CLLocation objects until all data is returned and the done parameter is YES or if HKHealthStore stopQuery: is called. The stopQuery call can be made within the dataHandler block. The number of objects returned in routeData per dataHandler call is unspecified. Once done is YES, or stopQuery called, the query is complete and no more calls to the handler will be made.
     */
    initWithRoute$dateInterval$dataHandler$(workoutRoute: _HKWorkoutRoute, dateInterval: _NSDateInterval, dataHandler: ((query: _HKWorkoutRouteQuery, routeData: _NSArray, done: boolean, error: _NSError) => void) | null): _HKWorkoutRouteQuery;
}
