import type { DeployAdapter, DeployOptions, DeployResult, PreflightResult, RollbackOptions, PromoteOptions, DeployProvider } from './DeployAdapter';
export declare class RailwayAdapter implements DeployAdapter {
    readonly name: DeployProvider;
    detect(): Promise<boolean>;
    preflight(opts: DeployOptions): Promise<PreflightResult>;
    deploy(opts: DeployOptions): Promise<DeployResult>;
    /**
     * v1.19.0 — Railway has no alias concept. Promote = re-run `railway up`
     * against the target environment. `from` is informational only (logged
     * in result for traceability); Railway always builds from the linked
     * source on the target environment.
     */
    promote(opts: PromoteOptions): Promise<DeployResult>;
    rollback(opts: RollbackOptions): Promise<DeployResult>;
}
