import { type CommandContext, type GlobalOptions } from '../../app/command-context.js';
import { type ModelFamily } from '../../providers/identity/family.js';
import type { IdentityProvenance } from '../../providers/identity/provenance.js';
import { Command } from 'commander';
export interface CursorAgentRunOptions {
    cwd: string;
    env: NodeJS.ProcessEnv;
}
export interface CursorAgentRunResult {
    ok: boolean;
    stdout: string;
    stderr: string;
}
export interface CursorProbeDependencies {
    runCursorAgent: (args: string[], options: CursorAgentRunOptions) => Promise<CursorAgentRunResult>;
    readFile: (path: string, encoding: BufferEncoding) => Promise<string>;
    env?: NodeJS.ProcessEnv;
}
interface CursorCurrentTargetCommandDependencies extends CursorProbeDependencies {
    buildCommandContext: (options: GlobalOptions) => CommandContext;
}
export type CursorCurrentTargetSource = 'cursor-agent models' | '--list-models' | 'init-event' | 'cli-config' | 'unknown';
export interface CursorCurrentTarget {
    value: string;
    source: CursorCurrentTargetSource;
    provenance: IdentityProvenance;
    family: ModelFamily;
    rawValue?: string;
}
export declare function probeCursorCurrentTarget(options: {
    cwd: string;
    home: string;
    dependencies?: Partial<CursorProbeDependencies>;
}): Promise<CursorCurrentTarget>;
export declare function createCursorCurrentTargetCommand(overrides?: Partial<CursorCurrentTargetCommandDependencies>): Command;
export {};
//# sourceMappingURL=cursor-current-target.d.ts.map