import type { TryCliOptions, PackCliOptions } from '../cli/parser.js'; import { generateGraph } from './generate.js'; import { type InstallPlatform } from './install.js'; import { type GraphSummary } from '../runtime/graph-summary.js'; import { type GraphContextFreshness } from '../runtime/freshness.js'; interface TrialIo { log(message?: string): void; error(message?: string): void; } export interface TryCommandDependencies { generateGraph: typeof generateGraph; runContextPack: (context: { options: PackCliOptions; io: TrialIo; }) => Promise | string | void; analyzeFreshness: (graphPath: string) => GraphContextFreshness; summarizeGraph: (graphPath: string) => GraphSummary; isGraphDirected: (graphPath: string) => boolean; resolvePackageRoot: () => string; pathExists: (path: string) => boolean; readNodeMajorVersion: () => number; defaultInstallPlatform: () => InstallPlatform; } export declare function runTryCommand(options: TryCliOptions, io: TrialIo, dependencies?: TryCommandDependencies): Promise; export {};