import type { _NSTextStorage } from "./NSTextStorage.js";
import type { NSRange } from "../structs/NSRange.js";
import type { NSTextStorageEditActions } from "./NSTextStorageEditActions.js";
export interface _NSTextStorageDelegate {
    /**
     * Sent inside -processEditing right before fixing attributes. Delegates can change the characters or attributes.
     */
    textStorage$willProcessEditing$range$changeInLength$?(textStorage: _NSTextStorage, editedMask: NSTextStorageEditActions, editedRange: NSRange, delta: number): void;
    /**
     * Sent inside -processEditing right before notifying layout managers. Delegates can change the attributes.
     */
    textStorage$didProcessEditing$range$changeInLength$?(textStorage: _NSTextStorage, editedMask: NSTextStorageEditActions, editedRange: NSRange, delta: number): void;
}
