import type { NobjcObject } from "objc-js";
import type { _NSViewController } from "../AppKit/NSViewController.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { STWebHistoryProfileIdentifier } from "./STWebHistoryProfileIdentifier.js";
export declare class _STWebpageController extends _NSViewController {
    static alloc(): _STWebpageController;
    static new(): _STWebpageController;
    init(): _STWebpageController;
    /**
     * Changes the bundle identifier used to report web usage. This is only supported for web browsers that have been properly registered with Screen Time. - Parameters: - bundleIdentifier: The bundle identifier that can be changed to facilitate web usage reporting for a parent web browser from one of its helper processes or extensions. - error: Any error that occurred while changing the bundle identifier.
     */
    setBundleIdentifier$error$(bundleIdentifier: _NSString, error: NobjcObject | null): boolean;
    /**
     * A Boolean that indicates whether the webpage controller is not recording web usage. Set to <doc ://com.apple.documentation/documentation/objectivec/yes> to stop recording and reporting web-usage data.
     */
    suppressUsageRecording(): boolean;
    setSuppressUsageRecording$(value: boolean): void;
    /**
     * The URL for the webpage. Set this value to the webpage’s URL when the user navigates to a new URL.
     */
    URL(): _NSURL | null;
    setURL$(value: _NSURL | null): void;
    /**
     * A Boolean that indicates whether there are one or more videos currently playing in the webpage. The default value is <doc ://com.apple.documentation/documentation/objectivec/no>. Set this value when the webpage starts or stops playing video. - Important: Set this value to <doc ://com.apple.documentation/documentation/objectivec/no> prior to changing ``ScreenTime/STWebpageController/URL`` if the new webpage at that URL stops currently playing media and won’t immediately start playing new media.
     */
    URLIsPlayingVideo(): boolean;
    setURLIsPlayingVideo$(value: boolean): void;
    /**
     * A Boolean that indicates whether the webpage is currently displaying a floating picture in picture window. The default value is <doc ://com.apple.documentation/documentation/objectivec/no>. Set this value when the webpage starts or stops displaying a Picture in Picture window. - Important: Set this value to <doc ://com.apple.documentation/documentation/objectivec/no> prior to changing ``ScreenTime/STWebpageController/URL`` if the new webpage at that URL ends all currently displayed Picture in Picture windows, and won’t immediately display a new one.
     */
    URLIsPictureInPicture(): boolean;
    setURLIsPictureInPicture$(value: boolean): void;
    /**
     * A Boolean that indicates whether a parent or guardian has blocked the URL. When a parent or guardian blocks the webpage’s URL, the webpage controller displays a blocking UI and then sets this property to <doc ://com.apple.documentation/documentation/objectivec/yes>.
     */
    URLIsBlocked(): boolean;
    /**
     * An optional identifier for the current browsing profile. The default value is `nil`. This identifier represents a profile and allows you to keep your browsing separate for topics like work, personal, or school. Using `nil` will report web history without a profile identifier. Web browsers with a "default" profile may want to use `nil` in order to match any web history reported prior to this API.
     */
    profileIdentifier(): STWebHistoryProfileIdentifier | null;
    setProfileIdentifier$(value: STWebHistoryProfileIdentifier | null): void;
}
