import type { Terminal } from "../terminal.js"; export declare const USAGE = "pr-lens auth [options]\n\nSigns this machine in to the PR Lens app, so the canvases it pushes belong to\nyour account. Nothing else needs it: pushing, pulling and rendering\nall work signed out, and always will.\n\n pr-lens auth login approve this machine in a browser\n pr-lens auth login --force sign in again even if this machine already is\n --no-browser print the link instead of opening one\n\n pr-lens auth status which app this machine is signed in to\n --json the same answer, for scripts\n\n pr-lens auth logout forget the sign-in kept on this machine\n\n --api the PR Lens app (default $PR_LENS_API_URL, else https://prlens.dev)\n\nThe sign-in is kept per app, so one machine can be signed in to prlens.dev and\nto a private store at once. $PR_LENS_TOKEN overrides it, which is how CI signs in\nwithout a browser."; /** * Adds the step rather than taking the served interval: the app serves the * same five-second floor on `slow_down`, which alone would never back off. */ export declare const nextInterval: (seconds: number, served: number | undefined) => number; /** True means asked, not opened (over SSH it "succeeds" on no screen), so the link is printed either way. */ export declare const askToOpen: (url: string) => boolean; export declare const authCommand: (args: readonly string[], terminal: Terminal, env: Record) => Promise; //# sourceMappingURL=auth.d.ts.map