import { type ServiceStartResult } from '../../cliproxy/service-manager';
import type { CLIProxyBackend } from '../../cliproxy/types';
interface ProxyStatusLike {
    running: boolean;
}
interface InstallDashboardCliproxyVersionDeps {
    getProxyStatus: () => ProxyStatusLike;
    isCliproxyRunning: () => Promise<boolean>;
    installCliproxyVersion: (version: string, verbose?: boolean, backend?: CLIProxyBackend) => Promise<void>;
    ensureCliproxyService: () => Promise<ServiceStartResult>;
}
export interface DashboardCliproxyInstallResult {
    success: boolean;
    restarted: boolean;
    port?: number;
    message: string;
    error?: string;
}
export declare function installDashboardCliproxyVersion(version: string, backend: CLIProxyBackend, deps?: InstallDashboardCliproxyVersionDeps): Promise<DashboardCliproxyInstallResult>;
export {};
//# sourceMappingURL=cliproxy-dashboard-install-service.d.ts.map