import { TelemetryService } from '../services/TelemetryService';
type TimeoutFallbackParams<T> = {
    operation: Promise<T>;
    timeoutMs: number;
    onTimeout: () => T;
};
export declare const withTimeoutFallback: <T>(params: TimeoutFallbackParams<T>) => Promise<T>;
export declare const createModificationRouter: (projectPath: string, telemetry?: TelemetryService) => import("express-serve-static-core").Router;
export {};
//# sourceMappingURL=modifications.d.ts.map