import type { AiAdapter, JudgeInvocation, JudgeReply } from "./ai-types.js"; /** * The codex binary, which is frequently not on PATH. * * An ordered list rather than one path, and an environment variable ahead of * all of it, because this CLI installs itself somewhere its own plugin manager * chooses and that location can move between releases. A moved path is then * data rather than a bug, and `LOOKOUT_CODEX_BIN` is the answer for an install * that lands somewhere nobody predicted. */ export declare function codexBin(): Promise; /** * The models this install offers, filtered to the ones that can do the job. * * Two filters, not one. `visibility` is the CLI's own answer to "should a * picker show this", and `input_modalities` is the difference between a model * that can judge a screenshot and one that cannot: this install lists a * text-only model among its visible ones, and the CLI itself refuses an image * to it. Offering it in a menu of judges would be offering a judge that cannot * see, so lookout asks the same question the CLI would and leaves it out. */ export declare function codexModels(home?: string): string[]; /** One `codex exec` round trip returning the reply text. */ export declare function invokeCodex(inv: JudgeInvocation): Promise; export declare const codexAdapter: AiAdapter;