import type { _CKDatabaseOperation } from "./CKDatabaseOperation.js";
import type { _CKRecordZone } from "./CKRecordZone.js";
import type { _CKRecordZoneID } from "./CKRecordZoneID.js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
import type { _NSError } from "../Foundation/NSError.js";
export declare class _CKFetchRecordZonesOperation extends _CKDatabaseOperation {
    static alloc(): _CKFetchRecordZonesOperation;
    static new(): _CKFetchRecordZonesOperation;
    static fetchAllRecordZonesOperation(): _CKFetchRecordZonesOperation;
    init(): _CKFetchRecordZonesOperation;
    initWithRecordZoneIDs$(zoneIDs: _NSArray): _CKFetchRecordZonesOperation;
    recordZoneIDs(): _NSArray | null;
    setRecordZoneIDs$(value: _NSArray | null): void;
    /**
     * @abstract Called on success or failure for each record zone. @discussion Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
     */
    perRecordZoneCompletionBlock(): ((arg0: _CKRecordZoneID, arg1: _CKRecordZone, arg2: _NSError) => void) | null;
    setPerRecordZoneCompletionBlock$(value: ((arg0: _CKRecordZoneID, arg1: _CKRecordZone, arg2: _NSError) => void) | null): void;
    /**
     * @abstract This block is called when the operation completes. @discussion The @code -[NSOperation completionBlock] @endcode will also be called if both are set. If the error is @c CKErrorPartialFailure, the error's userInfo dictionary contains a dictionary of zoneIDs to errors keyed off of @c CKPartialErrorsByItemIDKey. @c recordZonesByZoneID and any @c CKPartialErrorsByItemIDKey errors are repeats of the data sent back in previous @c perRecordZoneCompletionBlock invocations Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
     */
    fetchRecordZonesCompletionBlock(): ((arg0: _NSDictionary, arg1: _NSError) => void) | null;
    setFetchRecordZonesCompletionBlock$(value: ((arg0: _NSDictionary, arg1: _NSError) => void) | null): void;
}
