/** * Whether the words a range starts in are lighter than what is behind them (the first opaque background up from them, * or the page's canvas). Over a picture, the words' own lightness decides. */ export declare function lightWords(r: Range): boolean; export declare function highlightsSupported(): boolean; export interface PageSheet { /** Shows the picking cursor over the page while comment mode is on. */ picking(on: boolean): void; /** Publishes --pipeup-gutter in px, for pages that reserve a gutter; null publishes nothing. */ gutter(px: number | null): void; /** How strongly highlights are painted, 0 to 1. */ fade(k: number): void; /** * Makes room for the All comments panel: a right margin of `px` on the page, easing in and out unless * `still`; 0 takes it away (the page eases back, then the rule goes). The width is also published as * --pipeup-panel, so a page's fixed elements can move clear of the panel too. */ room(px: number, still: boolean): void; remove(): void; } /** * Pipeup's only styles on the page itself: text highlights (painted by the browser, so the page's DOM is * never touched), the picking cursor in comment mode, room for the open All comments panel (a right margin on * the page) and, on pages that ask for it, the gutter width. They live in a constructed stylesheet * adopted by the document — no