import type { _NSError } from "../Foundation/NSError.js";
import type { _NSObject } from "../Foundation/NSObject.js";
export declare class _AVSampleBufferGeneratorBatch extends _NSObject {
    static alloc(): _AVSampleBufferGeneratorBatch;
    static new(): _AVSampleBufferGeneratorBatch;
    init(): _AVSampleBufferGeneratorBatch;
    /**
     * @method makeDataReadyWithCompletionHandler: @abstract Loads sample data asynchronously for all CMSampleBuffers within a batch. This can only be called once on a batch, an exception will be thrown otherwise. @param completionHandler The completionHandler is called once, when all CMSampleBuffers in the batch are data-ready, or as soon as an error has occurred.
     */
    makeDataReadyWithCompletionHandler$(completionHandler: ((error: _NSError) => void) | null): void;
    /**
     * @method cancel @abstract Attempt to cancel any I/O for this batch. The associated sample buffers will have their data ready handler invoked with an error.
     */
    cancel(): void;
}
