import type { _AVPlayerItemLegibleOutputPushDelegate } from "./AVPlayerItemLegibleOutputPushDelegate.js";
import type { _AVPlayerItemOutput } from "./AVPlayerItemOutput.js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { AVPlayerItemLegibleOutputTextStylingResolution } from "./AVPlayerItemLegibleOutputTextStylingResolution.js";
export declare class _AVPlayerItemLegibleOutput extends _AVPlayerItemOutput {
    static alloc(): _AVPlayerItemLegibleOutput;
    static new(): _AVPlayerItemLegibleOutput;
    init(): _AVPlayerItemLegibleOutput;
    /**
     * @method setDelegate:queue: @abstract Sets the receiver's delegate and a dispatch queue on which the delegate will be called. @param delegate An object conforming to AVPlayerItemLegibleOutputPushDelegate protocol. @param delegateQueue A dispatch queue on which all delegate methods will be called. @discussion The delegate is held using a zeroing-weak reference, so it is safe to deallocate the delegate while the receiver still has a reference to it.
     */
    setDelegate$queue$(delegate: _AVPlayerItemLegibleOutputPushDelegate | null, delegateQueue: _NSObject | null): void;
    /**
     * @method initWithMediaSubtypesForNativeRepresentation: @abstract Returns an instance of AVPlayerItemLegibleOutput with filtering enabled for AVPlayerItemLegibleOutputPushDelegate's legibleOutput:didOutputAttributedStrings:nativeSampleBuffers:forItemTime:. @param subtypes NSArray of NSNumber FourCC codes, e.g. @[ [NSNumber numberWithUnsignedInt:'tx3g'] ] @result An instance of AVPlayerItemLegibleOutput. @discussion Add media subtype FourCC number objects to the subtypes array to elect to receive that type as a CMSampleBuffer instead of an NSAttributedString. Initializing an AVPlayerItemLegibleOutput using the -init method is equivalent to calling -initWithMediaSubtypesForNativeRepresentation: with an empty array, which means that all legible data, regardless of media subtype, will be delivered using NSAttributedString in a common format. If a media subtype for which there is no legible data in the current player item is included in the media subtypes array, no error will occur. AVPlayerItemLegibleOutput will not vend closed caption data as CMSampleBuffers, so it is an error to include 'c608' in the media subtypes array. This method throws an exception if any media subtype is kCMClosedCaptionFormatType_CEA608 (native representation is not available for media subtype).
     */
    initWithMediaSubtypesForNativeRepresentation$(subtypes: _NSArray): _AVPlayerItemLegibleOutput;
    /**
     * @property delegate @abstract The receiver's delegate. @discussion The delegate is held using a zeroing-weak reference, so this property will have a value of nil after a delegate that was previously set has been deallocated. This property is not key-value observable.
     */
    delegate(): _AVPlayerItemLegibleOutputPushDelegate | null;
    /**
     * @property delegateQueue @abstract The dispatch queue where the delegate is messaged. @discussion This property is not key-value observable.
     */
    delegateQueue(): _NSObject | null;
    /**
     * @property advanceIntervalForDelegateInvocation @abstract Permits advance invocation of the associated delegate, if any. @discussion If it is possible, an AVPlayerItemLegibleOutput will message its delegate advanceIntervalForDelegateInvocation seconds earlier than otherwise. If the value you provide is large, effectively requesting provision of samples earlier than the AVPlayerItemLegibleOutput is prepared to act on them, the delegate will be invoked as soon as possible.
     */
    advanceIntervalForDelegateInvocation(): number;
    setAdvanceIntervalForDelegateInvocation$(value: number): void;
    /**
     * @property textStylingResolution @abstract A string identifier indicating the degree of text styling to be applied to attributed strings vended by the receiver @discussion Valid values are AVPlayerItemLegibleOutputTextStylingResolutionDefault and AVPlayerItemLegibleOutputTextStylingResolutionSourceAndRulesOnly. An NSInvalidArgumentException is raised if this property is set to any other value. The default value is AVPlayerItemLegibleOutputTextStylingResolutionDefault, which indicates that attributed strings vended by the receiver will include the same level of styling information that would be used if AVFoundation were rendering the text via AVPlayerLayer.
     */
    textStylingResolution(): AVPlayerItemLegibleOutputTextStylingResolution;
    setTextStylingResolution$(value: AVPlayerItemLegibleOutputTextStylingResolution): void;
}
