import type { _NSAttributedString } from "../Foundation/NSAttributedString.js";
import type { _NSString } from "../Foundation/NSString.js";
export interface _WebDocumentText {
    /** YES if the document view support text encoding, NO if it doesn't. */
    supportsTextEncoding?(): boolean;
    /** String that represents the entire document. */
    string?(): _NSString;
    /** Attributed string that represents the entire document. */
    attributedString?(): _NSAttributedString;
    /** String that represents the current selection. */
    selectedString?(): _NSString;
    /** Attributed string that represents the current selection. */
    selectedAttributedString?(): _NSAttributedString;
    /** Selects all the text in the document. */
    selectAll?(): void;
    /** Causes a text selection to lose its selection. */
    deselectAll?(): void;
}
