export interface OpenCodeDetectResult {
    available: boolean;
    path?: string;
    version?: string;
    source?: "env" | "path" | "common";
}
/**
 * Detect OpenCode installation by checking multiple sources:
 * 1. OPENCODE_PATH environment variable
 * 2. PATH lookup via `which`/`where`
 * 3. Common install locations
 *
 * For each found binary, verifies it's executable and retrieves version info.
 */
export declare function detectOpenCode(): Promise<OpenCodeDetectResult>;
//# sourceMappingURL=detect.d.ts.map