import type { NobjcObject } from "objc-js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSCopying } from "../Foundation/NSCopying.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSString } from "../Foundation/NSString.js";
export declare class _AVTextStyleRule extends _NSObject {
    static alloc(): _AVTextStyleRule;
    static new(): _AVTextStyleRule;
    init(): _AVTextStyleRule;
    /**
     * @method propertyListForTextStyleRules: @abstract Converts an NSArray of AVTextStyleRules into a serializable property list that can be used for persistent storage. @param textStyleRules An array of AVTextStyleRules. @result A serializable property list. @discussion For serialization utilities, see NSPropertyList.h.
     */
    static propertyListForTextStyleRules$(textStyleRules: _NSArray): NobjcObject;
    /**
     * @method textStyleRulesFromPropertyList: @abstract Converts a property list into an NSArray of AVTextStyleRules. @param plist A property list, normally obtained previously via an invocation of +propertyListForTextStyleRules:. @result An NSArray of AVTextStyleRules
     */
    static textStyleRulesFromPropertyList$(plist: NobjcObject): _NSArray | null;
    /**
     * @method textStyleRuleWithTextMarkupAttributes: @abstract Creates an instance of AVTextStyleRule with the specified text markup attributes. @param textMarkupAttributes An NSDictionary with keys representing text style attributes that are specifiable in text markup. Eligible keys are defined in <CoreMedia/CMTextMarkup.h>. @result An instance of AVTextStyleRule @discussion Equivalent to invoking +textStyleRuleWithTextMarkupAttributes:textSelector: with a value of nil for textSelector.
     */
    static textStyleRuleWithTextMarkupAttributes$(textMarkupAttributes: _NSDictionary): _AVTextStyleRule | null;
    /**
     * @method textStyleRuleWithTextMarkupAttributes:textSelector: @abstract Creates an instance of AVTextStyleRule with the specified text markup attributes and an identifier for the range or ranges of text to which the attributes should be applied. @param textMarkupAttributes An NSDictionary with keys representing text style attributes that are specifiable in text markup. Eligible keys are defined in <CoreMedia/CMTextMarkup.h>. @param textSelector An identifier for the range or ranges of text to which the attributes should be applied. Eligible identifiers are determined by the format and content of the legible media. A value of nil indicates that the textMarkupAttributes should be applied as default styles for all text unless overridden by content markup or other applicable text selectors. @result An instance of AVTextStyleRule
     */
    static textStyleRuleWithTextMarkupAttributes$textSelector$(textMarkupAttributes: _NSDictionary, textSelector: _NSString | null): _AVTextStyleRule | null;
    /**
     * @method initWithTextMarkupAttributes: @abstract Creates an instance of AVTextStyleRule with the specified text markup attributes. @param textMarkupAttributes An NSDictionary with keys representing text style attributes that are specifiable in text markup. Eligible keys are defined in <CoreMedia/CMTextMarkup.h>. @result An instance of AVTextStyleRule @discussion Equivalent to invoking -initWithTextMarkupAttributes:textSelector: with a value of nil for textSelector.
     */
    initWithTextMarkupAttributes$(textMarkupAttributes: _NSDictionary): _AVTextStyleRule | null;
    /**
     * @method initWithTextMarkupAttributes:textSelector: @abstract Creates an instance of AVTextStyleRule with the specified text markup attributes and an identifier for the range or ranges of text to which the attributes should be applied. @param textMarkupAttributes An NSDictionary with keys representing text style attributes that are specifiable in text markup. Eligible keys are defined in <CoreMedia/CMTextMarkup.h>. @param textSelector An identifier for the range or ranges of text to which the attributes should be applied. Eligible identifiers are determined by the format and content of the legible media. A value of nil indicates that the textMarkupAttributes should be applied as default styles for all text unless overridden by content markup or other applicable text selectors. @result An instance of AVTextStyleRule
     */
    initWithTextMarkupAttributes$textSelector$(textMarkupAttributes: _NSDictionary, textSelector: _NSString | null): _AVTextStyleRule | null;
    /**
     * @property textMarkupAttributes @abstract An NSDictionary with keys representing text style attributes that are specifiable in text markup. Eligible keys and the expected types of their corresponding values are defined in <CoreMedia/CMTextMarkup.h>.
     */
    textMarkupAttributes(): _NSDictionary;
    /**
     * @property textSelector @abstract A string that identifies the range or ranges of text to which the attributes should be applied. A value of nil indicates that the textMarkupAttributes should be applied as default styles for all text unless overridden by content markup or other applicable text selectors. @dicussion The syntax of text selectors is determined by the format of the legible media. Eligible selectors may be determined by the content of the legible media (e.g. CSS selectors that are valid for a specific WebVTT document).
     */
    textSelector(): _NSString | null;
}
export interface _AVTextStyleRule extends _NSCopying {
}
