import { type IssueContext, type IssueExtras, type IssueRecordView } from "./context.js"; import type { FixCluster } from "../fix/cluster.js"; import type { ResolvedConfig } from "../types.js"; /** * How to invoke lookout from somewhere else on this machine. * * A handoff is read by an agent in another process, and telling it to run * `lookout` is only useful if that is actually on PATH. It often is not: this * repository is run straight out of its build. Falling back to the absolute * path of the running CLI means the command in the document is one that works. */ export declare function invocation(): Promise; /** * Everything known about one issue, in one file: what is wrong, where, what it * looks like, and what lookout has already ruled. Paths are absolute * throughout, because whoever opens this has to open them. */ export declare function renderIssueDocument(resolved: ResolvedConfig, cluster: FixCluster, record?: IssueRecordView, extras?: IssueExtras): Promise<{ markdown: string; label: string; }>; /** The document from a context already loaded, so the JSON twin can share it. */ export declare function renderIssueDocumentFrom(ctx: IssueContext): Promise<{ markdown: string; label: string; }>;