export type SelectionVerdict = {
eligible: true;
text: string;
} | {
eligible: false;
reason: SelectionRejection;
};
export type SelectionRejection = "empty" | "too-short" | "too-long" | "editable" | "inside-assistant";
/** Roughly a word. Below this a double-click misfire is likelier than intent. */
export declare const MIN_SELECTION_CHARS = 3;
/**
* A triple-click can select a whole page, and a page is not a question. The
* cap is generous enough for a paragraph and short enough that what gets seeded
* is still something a visitor would recognise as what they highlighted.
*/
export declare const MAX_SELECTION_CHARS = 600;
export type EligibilityInput = {
text: string;
/** True when the selection is inside an ,