import type { Thread } from "../model/types"; import type { Ctx } from "./context"; /** Where a thread's content starts on the page: its words' first node, else its element; null when lost. */ export declare function nodeOf(ctx: Ctx, t: Thread): Node | null; /** Threads in page order: by where their content starts, then a pin's place (top to bottom), else as written. */ export declare const byPage: (ctx: Ctx) => (a: Thread, b: Thread) => number;