import type { FastifyPluginAsync } from 'fastify';
import type { VersionCheckResult, SelfUpdateResult } from '../../../../../modules/cli-configuration/entities/packageVersion/packageVersion.js';
import type { PackageVersionGateway } from '../../../../../modules/cli-configuration/entities/packageVersion/packageVersion.gateway.js';
import type { VersionCachePort } from '../../../../../modules/cli-configuration/entities/packageVersion/versionCache.gateway.js';
import type { SelfUpdateCommandPort } from '../../../../../modules/cli-configuration/entities/packageVersion/selfUpdateCommand.gateway.js';
import type { InstallTypeDetector } from '../../../../../modules/cli-configuration/entities/packageVersion/installTypeDetector.gateway.js';
import type { CheckVersionInput, CheckVersionDependencies } from '../../../../../modules/cli-configuration/usecases/version/checkVersion.usecase.js';
import type { TriggerSelfUpdateDependencies } from '../../../../../modules/cli-configuration/usecases/version/triggerSelfUpdate.usecase.js';
interface VersionRoutesOptions {
    checkVersion: (input: CheckVersionInput, dependencies: CheckVersionDependencies) => Promise<VersionCheckResult>;
    triggerSelfUpdate: (dependencies: TriggerSelfUpdateDependencies) => Promise<SelfUpdateResult>;
    currentVersion: string;
    packageVersionGateway: PackageVersionGateway;
    versionCache: VersionCachePort;
    selfUpdateCommand: SelfUpdateCommandPort;
    installTypeDetector: InstallTypeDetector;
    serverPort: number;
}
export declare const versionRoutes: FastifyPluginAsync<VersionRoutesOptions>;
export {};
//# sourceMappingURL=version.routes.d.ts.map