import type { _HKQuery } from "./HKQuery.js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSError } from "../Foundation/NSError.js";
import type { _NSPredicate } from "../Foundation/NSPredicate.js";
export declare class _HKActivitySummaryQuery extends _HKQuery {
    static alloc(): _HKActivitySummaryQuery;
    static new(): _HKActivitySummaryQuery;
    init(): _HKActivitySummaryQuery;
    /**
     * @method initWithPredicate:resultsHandler: @abstract Returns a query that will retrieve HKActivitySummaries matching the given predicate. @discussion If no updateHandler is set on the query, the query will automatically stop after calling resultsHandler. Otherwise, the query continues to run and calls the updateHandler as HKActivitySummaries matching the predicate are updated. @param predicate The predicate which HKActivitySummaries should match. @param handler The block to invoke with results when the query has finished.
     */
    initWithPredicate$resultsHandler$(predicate: _NSPredicate | null, handler: ((query: _HKActivitySummaryQuery, activitySummaries: _NSArray, error: _NSError) => void) | null): _HKActivitySummaryQuery;
    /**
     * @property updateHandler @abstract An optional handler to be called when activity summaries matching the given predicate are updated. @discussion This property may not be modified once the query has been executed. If this property is nonnull, then the query must be manually stopped.
     */
    updateHandler(): ((arg0: _HKActivitySummaryQuery, arg1: _NSArray, arg2: _NSError) => void) | null;
    setUpdateHandler$(value: ((arg0: _HKActivitySummaryQuery, arg1: _NSArray, arg2: _NSError) => void) | null): void;
}
