import { YagrN8nConfigService } from '../config/n8n-config-service.js';
import { type ManagedN8nInstanceState } from './state.js';
export type ConfiguredN8nRuntimeMode = 'unconfigured' | 'managed-local' | 'legacy-managed-match' | 'external';
export interface ConfiguredN8nLaunchPreparation {
    mode: ConfiguredN8nRuntimeMode;
    started: boolean;
    state?: ManagedN8nInstanceState;
    warning?: string;
}
export declare function getConfiguredManagedN8nState(configService?: YagrN8nConfigService): ManagedN8nInstanceState | undefined;
export declare function ensureConfiguredManagedN8nRunning(configService?: YagrN8nConfigService): Promise<{
    state?: ManagedN8nInstanceState;
    started: boolean;
}>;
export declare function getConfiguredExternalN8nReachabilityWarning(configService?: YagrN8nConfigService): Promise<string | undefined>;
export declare function prepareConfiguredN8nForLaunch(configService?: YagrN8nConfigService): Promise<ConfiguredN8nLaunchPreparation>;
//# sourceMappingURL=managed-runtime.d.ts.map