export type GetCursorPosition = (x: number, y: number) => null | [node: Node, offset: number];
export declare const getCursorPosition: GetCursorPosition;
export declare const unit: (event: KeyboardEvent) => "" | "word" | "vline";
export declare const getDomain: (url: string) => string | undefined;
export declare const parseUrl: (url: string) => URL | undefined;
