import { Router } from 'express';
import type { RemoteAuthService } from '../services/remote-auth.js';
/**
 * M25/M26 (0.1.32) — `/api/remote-project`.
 *
 * GET: local proxy over `GET /v1/projects/by-id/{uuid}`. Bearer optional. Surfaces
 * one of three scenarios (A linked:false / B owner / C non-owner) plus the 404
 * edge case C' (`reason: 'not_found'` — covers deleted project, foreign draft,
 * invalid UUID). Defense-in-depth: strips owner-only fields when isOwner=false.
 *
 * PATCH: local proxy over `PATCH /v1/projects/by-id/{uuid}`. Bearer required
 * (409 NOT_CONNECTED if missing). Local body validation (1..120 / 0..1000 /
 * at-least-one-field) runs before any peer call. 422 surfaces the offending
 * field when the peer envelope carries class-validator structure.
 */
export declare function remoteProjectRouter(remoteAuth: RemoteAuthService, cwd: string): Router;
