import type { Comment } from "../../types";
import type { SelectionRange } from "../client/editContext";
export type ViewportSelectionRect = {
    x: number;
    y: number;
    width: number;
    height: number;
    top: number;
    right: number;
    bottom: number;
    left: number;
};
export declare const COMMENT_TRANSIENT_SELECTION_RECT: unique symbol;
export declare const COMMENT_TRANSIENT_ELEMENT_KEY: unique symbol;
export type CommentWithTransientSelection = Comment & {
    [COMMENT_TRANSIENT_ELEMENT_KEY]?: string;
    [COMMENT_TRANSIENT_SELECTION_RECT]?: ViewportSelectionRect;
};
export declare const COMMENT_DRAFT_SELECTION_EVENT = "parhelia:comment-draft-selection";
export type CommentDraftSelectionEventDetail = {
    range?: SelectionRange;
};
export declare function publishCommentDraftSelection(range?: SelectionRange): void;
