type Run = (command: string, args: string[], cwd: string) => Promise; export interface SetupOptions { root?: string; source?: string; node?: string; registry?: string; candidates?: string[]; run?: Run; } export declare function prepareCodexPlugin(options?: SetupOptions): Promise<{ installed: boolean; version: string; viewUrl: string; install(): Promise; }>; export {};