/**
 * Determine which selection logic and selection ranges to consider.
 */
export declare function getTargetTypeAndSelection(node: Node): {
    readonly type: "input";
    readonly selection: import("../../document").UISelectionRange;
} | {
    readonly type: "contenteditable" | "default";
    readonly selection: Selection | null | undefined;
};
