import type { _NSCoding } from "../Foundation/NSCoding.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { WebCacheModel } from "./WebCacheModel.js";
export declare class _WebPreferences extends _NSObject {
    static alloc(): _WebPreferences;
    static new(): _WebPreferences;
    init(): _WebPreferences;
    /** @method standardPreferences */
    static standardPreferences(): _WebPreferences;
    /**
     * @method initWithIdentifier: @param anIdentifier A string used to identify the WebPreferences. @discussion WebViews can share instances of WebPreferences by using an instance of WebPreferences with the same identifier. Typically, instance are not created directly. Instead you set the preferences identifier on a WebView. The identifier is used as a prefix that is added to the user defaults keys for the WebPreferences. @result Returns a new instance of WebPreferences or a previously allocated instance with the same identifier.
     */
    initWithIdentifier$(anIdentifier: _NSString): _WebPreferences;
    /** @property identifier @result Returns the identifier for this WebPreferences. */
    identifier(): _NSString;
    /** @property standardFontFamily */
    standardFontFamily(): _NSString;
    setStandardFontFamily$(value: _NSString): void;
    /** @property fixedFontFamily */
    fixedFontFamily(): _NSString;
    setFixedFontFamily$(value: _NSString): void;
    /** @property serifFontFamily */
    serifFontFamily(): _NSString;
    setSerifFontFamily$(value: _NSString): void;
    /** @property sansSerifFontFamily */
    sansSerifFontFamily(): _NSString;
    setSansSerifFontFamily$(value: _NSString): void;
    /** @property cursiveFontFamily */
    cursiveFontFamily(): _NSString;
    setCursiveFontFamily$(value: _NSString): void;
    /** @property fantasyFontFamily */
    fantasyFontFamily(): _NSString;
    setFantasyFontFamily$(value: _NSString): void;
    /** @property defaultFontSize */
    defaultFontSize(): number;
    setDefaultFontSize$(value: number): void;
    /** @property defaultFixedFontSize */
    defaultFixedFontSize(): number;
    setDefaultFixedFontSize$(value: number): void;
    /** @property minimumFontSize */
    minimumFontSize(): number;
    setMinimumFontSize$(value: number): void;
    /** @property minimumLogicalFontSize */
    minimumLogicalFontSize(): number;
    setMinimumLogicalFontSize$(value: number): void;
    /** @property defaultTextEncodingName */
    defaultTextEncodingName(): _NSString;
    setDefaultTextEncodingName$(value: _NSString): void;
    /** @property userStyleSheetEnabled */
    userStyleSheetEnabled(): boolean;
    setUserStyleSheetEnabled$(value: boolean): void;
    /**
     * @property userStyleSheetLocation @abstract The location of the user style sheet.
     */
    userStyleSheetLocation(): _NSURL;
    setUserStyleSheetLocation$(value: _NSURL): void;
    /**
     * @property javaEnabled @discussion Deprecated function that does nothing and always returns false.
     */
    javaEnabled(): boolean;
    setJavaEnabled$(value: boolean): void;
    /** @property javaScriptEnabled */
    javaScriptEnabled(): boolean;
    setJavaScriptEnabled$(value: boolean): void;
    /** @property javaScriptCanOpenWindowsAutomatically */
    javaScriptCanOpenWindowsAutomatically(): boolean;
    setJavaScriptCanOpenWindowsAutomatically$(value: boolean): void;
    /** @property plugInsEnabled */
    plugInsEnabled(): boolean;
    setPlugInsEnabled$(value: boolean): void;
    /** @property allowsAnimatedImages */
    allowsAnimatedImages(): boolean;
    setAllowsAnimatedImages$(value: boolean): void;
    /** @property allowsAnimatedImageLooping */
    allowsAnimatedImageLooping(): boolean;
    setAllowsAnimatedImageLooping$(value: boolean): void;
    /** @property willLoadImagesAutomatically */
    loadsImagesAutomatically(): boolean;
    setLoadsImagesAutomatically$(value: boolean): void;
    /**
     * @property autosaves @discussion If autosaves is YES the settings represented by WebPreferences will be stored in the user defaults database.
     */
    autosaves(): boolean;
    setAutosaves$(value: boolean): void;
    /** @property shouldPrintBackgrounds */
    shouldPrintBackgrounds(): boolean;
    setShouldPrintBackgrounds$(value: boolean): void;
    /**
     * @property privateBrowsingEnabled: @abstract If private browsing is enabled, WebKit will not store information about sites the user visits.
     */
    privateBrowsingEnabled(): boolean;
    setPrivateBrowsingEnabled$(value: boolean): void;
    /**
     * @property tabsToLinks @abstract If tabsToLinks is YES, the tab key will focus links and form controls. The option key temporarily reverses this preference.
     */
    tabsToLinks(): boolean;
    setTabsToLinks$(value: boolean): void;
    /**
     * @property usesPageCache @abstract Whether the receiver's associated WebViews use the shared page cache. @discussion Pages are cached as they are added to a WebBackForwardList, and removed from the cache as they are removed from a WebBackForwardList. Because the page cache is global, caching a page in one WebBackForwardList may cause a page in another WebBackForwardList to be evicted from the cache.
     */
    usesPageCache(): boolean;
    setUsesPageCache$(value: boolean): void;
    /**
     * @property cacheModel @abstract Specifies a usage model for a WebView, which WebKit will use to determine its caching behavior. If necessary, WebKit will prune its caches to match cacheModel when set. @discussion Research indicates that users tend to browse within clusters of documents that hold resources in common, and to revisit previously visited documents. WebKit and the frameworks below it include built-in caches that take advantage of these patterns, substantially improving document load speed in browsing situations. The WebKit cache model controls the behaviors of all of these caches, including NSURLCache and the various WebCore caches. Applications with a browsing interface can improve document load speed substantially by specifying WebCacheModelDocumentBrowser. Applications without a browsing interface can reduce memory usage substantially by specifying WebCacheModelDocumentViewer. If cacheModel is not set, WebKit will select a cache model automatically.
     */
    cacheModel(): WebCacheModel;
    setCacheModel$(value: WebCacheModel): void;
    /** @property suppressesIncrementalRendering */
    suppressesIncrementalRendering(): boolean;
    setSuppressesIncrementalRendering$(value: boolean): void;
    /** @property allowsAirPlayForMediaPlayback */
    allowsAirPlayForMediaPlayback(): boolean;
    setAllowsAirPlayForMediaPlayback$(value: boolean): void;
}
export interface _WebPreferences extends _NSCoding {
}
