import type { _HKQuantity } from "./HKQuantity.js";
import type { _HKQuantitySample } from "./HKQuantitySample.js";
import type { _HKQuantityType } from "./HKQuantityType.js";
import type { _HKQuery } from "./HKQuery.js";
import type { _NSDate } from "../Foundation/NSDate.js";
import type { _NSDateInterval } from "../Foundation/NSDateInterval.js";
import type { _NSError } from "../Foundation/NSError.js";
import type { _NSPredicate } from "../Foundation/NSPredicate.js";
export declare class _HKQuantitySeriesSampleQuery extends _HKQuery {
    static alloc(): _HKQuantitySeriesSampleQuery;
    static new(): _HKQuantitySeriesSampleQuery;
    init(): _HKQuantitySeriesSampleQuery;
    /**
     * @method initWithSample:dataHandler: @abstract Returns a query that will retrieve HKQuantity objects for samples of a specified type that match the specified predicate. @param quantityType The type of HKQuantitySample to retrieve. @param predicate The predicate which the query results should match. To query for the quantities for a specific quantity sample see: +[HKPredicates predicateForObjectWithUUID:] @param quantityHandler The block to invoke with results from the query. It will be called repeatedly with HKQuantity, and NSDateInterval objects in ascending dateInterval.startDate order, until all quantities are returned and the done parameter is YES or -[HKHealthStore stopQuery:] is called. The quantitySample parameter is nil unless includeSample is YES, in which case it will be the quantitySample which owns the current quantity anytime the quantity paramater is non-nil. The stopQuery call can be made within the quantityHandler block. Once done is YES, or stopQuery has been called, the query is complete and no more calls to quantityHandler will be made.
     * @deprecated initWithQuantityType:predicate:quantityHandler:
     */
    initWithQuantityType$predicate$quantityHandler$(quantityType: _HKQuantityType, predicate: _NSPredicate | null, quantityHandler: ((query: _HKQuantitySeriesSampleQuery, quantity: _HKQuantity, dateInterval: _NSDateInterval, quantitySample: _HKQuantitySample, done: boolean, error: _NSError) => void) | null): _HKQuantitySeriesSampleQuery;
    /** @deprecated initWithQuantityType:predicate:quantityHandler: */
    initWithSample$quantityHandler$(quantitySample: _HKQuantitySample, quantityHandler: ((query: _HKQuantitySeriesSampleQuery, quantity: _HKQuantity, date: _NSDate, done: boolean, error: _NSError) => void) | null): _HKQuantitySeriesSampleQuery;
    /**
     * @property includeSample @abstract Include owning HKQuantitySample in quantityHandler handler. @discussion Default value is NO. If includeSample is set then the quantitySample parameter of quantityHandler will be non-nil anytime the quantity parameter is non-nil. Specifying this option has a performance cost. This property may not be modified once the query has been executed.
     */
    includeSample(): boolean;
    setIncludeSample$(value: boolean): void;
    /**
     * @property orderByQuantitySampleStartDate @abstract Order enumerated results first by quantitySample.startDate, then by the quantity's dateInterval.startDate. @discussion Default value is NO. All quantities owned by a given quantitySample will be enumerated before any quantities owned by any other quantity sample, and the quantity samples will be enumerated in their startDate order. Note that individual quantities may not be returned in their dateInterval.startDate order if more than one quantitySample overlap in time. This property may not be modified once the query has been executed.
     */
    orderByQuantitySampleStartDate(): boolean;
    setOrderByQuantitySampleStartDate$(value: boolean): void;
}
