import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSCopying } from "../Foundation/NSCopying.js";
import type { _NSDate } from "../Foundation/NSDate.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSSecureCoding } from "../Foundation/NSSecureCoding.js";
import type { _NSUUID } from "../Foundation/NSUUID.js";
import type { _HKQuantityType } from "./HKQuantityType.js";
import type { _HKStatistics } from "./HKStatistics.js";
import type { _HKWorkoutConfiguration } from "./HKWorkoutConfiguration.js";
export declare class _HKWorkoutActivity extends _NSObject {
    static alloc(): _HKWorkoutActivity;
    static new(): _HKWorkoutActivity;
    init(): _HKWorkoutActivity;
    /**
     * @method statisticsForType: @discussion Returns an HKStatistics object containing the statistics for all the samples of the given type that have been added to the workout within the date interval of this activity. If there are no samples of the given type then nil is returned. @param quantityType The quantity type to gather statistics about.
     */
    statisticsForType$(quantityType: _HKQuantityType): _HKStatistics | null;
    /**
     * @method initWithWorkoutConfiguration:startDate:endDate:metadata: @abstract Initialize a new HKWorkoutActivity with the specified values. @param workoutConfiguration The configuration object describing the workout activity. @param startDate The point in time when the workout activity was started. @param endDate The point in time when the workout activity was ended. @param metadata Metadata for the workout activity. (Optional)
     */
    initWithWorkoutConfiguration$startDate$endDate$metadata$(workoutConfiguration: _HKWorkoutConfiguration, startDate: _NSDate, endDate: _NSDate | null, metadata: _NSDictionary | null): _HKWorkoutActivity;
    /**
     * @property UUID @abstract A unique identifier of the activity in the HealthKit database.
     */
    UUID(): _NSUUID;
    /**
     * @property workoutConfiguration @abstract The configuration object describing the workout activity.
     */
    workoutConfiguration(): _HKWorkoutConfiguration;
    /**
     * @property startDate @abstract The point in time when the workout activity was started.
     */
    startDate(): _NSDate;
    /**
     * @property endDate @abstract The point in time when the workout activity was ended. @discussion This value is nil when a workout activity is in progress.
     */
    endDate(): _NSDate | null;
    /**
     * @property metadata @abstract Extra information describing properties of the workout activity. @discussion Keys must be NSString and values must be either NSString, NSNumber, NSDate, or HKQuantity. See HKMetadata.h for potential metadata keys and values.
     */
    metadata(): _NSDictionary | null;
    /**
     * @property duration @abstract The length of time that the workout activity was recording @discussion The duration is derived from the start and end dates of the activity and takes into account periods that the activity was paused. Periods that the activity was paused are based off of the workoutEvents property of the parent workout object.
     */
    duration(): number;
    /**
     * @property workoutEvents @abstract An array of HKWorkoutEvents that occurred during the workout activity. @discussion These events will be ordered by date in ascending order. These events are a subset of the workout events that take place between the start date and end date of the activity. This includes any event that overlaps the activity, even partially. Consequently, some events may be included in more than one activity.
     */
    workoutEvents(): _NSArray;
    /**
     * @property allStatistics @abstract A dictionary of statistics per quantity type during the activity @discussion This dictionary will contain HKStatistics objects containing the statistics by quantity sample type for all of the samples that have been added to the workout within the date interval of this activity.
     */
    allStatistics(): _NSDictionary;
}
export interface _HKWorkoutActivity extends _NSSecureCoding, _NSCopying {
}
