/** * Linux clipboard candidates, tried in order. * 1. wl-copy — Wayland (most modern desktops) * 2. xclip — X11, widely available * 3. xsel — X11, alternative to xclip */ export declare const LINUX_CLIPBOARD_CANDIDATES: { cmd: string; args: string[]; }[]; /** * Spawn a clipboard command, write text to its stdin, and resolve when it exits 0. * Rejects if the process errors or exits non-zero. */ export declare function trySpawn(cmd: string, args: string[], text: string): Promise; export declare function copyToClipboard(text: string): Promise; export declare function formatShareMarkdown(score: number | "N/A", axes: { tokens: number | null; a11y: number | null; components: number | null; stories: number | null; }, topRules: { ruleId: string; count: number; fixable: boolean; }[], repo: string | null): string;