import type { _NSCopying } from "../Foundation/NSCopying.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSSecureCoding } from "../Foundation/NSSecureCoding.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _SFSafariPageProperties } from "./SFSafariPageProperties.js";
import type { _SFSafariTab } from "./SFSafariTab.js";
import type { _NSImage } from "../AppKit/NSImage.js";
export declare class _SFSafariPage extends _NSObject {
    static alloc(): _SFSafariPage;
    static new(): _SFSafariPage;
    init(): _SFSafariPage;
    /** Dispatches a message to the content script injected in this page. */
    dispatchMessageToScriptWithName$userInfo$(messageName: _NSString, userInfo: _NSDictionary | null): void;
    /** Reloads the page. */
    reload(): void;
    /** This calls the completion handler with the properties of the page. */
    getPagePropertiesWithCompletionHandler$(completionHandler: ((properties: _SFSafariPageProperties) => void) | null): void;
    /**
     * This calls the completion handler with the tab containing this page. This will return a non-nil tab for any pages being preloaded by Safari.
     */
    getContainingTabWithCompletionHandler$(completionHandler: (tab: _SFSafariTab) => void): void;
    /** Gets a screenshot of the currently visible area of the page. */
    getScreenshotOfVisibleAreaWithCompletionHandler$(completionHandler: ((image: _NSImage) => void) | null): void;
}
export interface _SFSafariPage extends _NSCopying, _NSSecureCoding {
}
