import { type Json } from "./protocol.js";
/** Project git reads and token Connect share the same checkout lookup.
 *  `GET /v1/projects/:project/git`: the project's host, branch and open pull
 *  requests with their checks, read from its checkout on this computer, so the
 *  desktop's Projects page needs no session running there. */
export declare const PROJECT_GIT_ROUTE: RegExp;
export declare function projectGit(base: string, rawProject: string, activity: Json[]): Promise<Json>;
/** No pull-list read here: resolve locally before passing a token to the host. */
export declare function projectHostToken(base: string, rawProject: string, activity: Json[], data: unknown): Promise<Json>;
