import type { IncomingMessage, ServerResponse } from "node:http";
import type { Router } from "./router.js";
export declare function makeGetGitRemoteHandler(root: string): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
export declare function makeGetGitStatusHandler(root: string): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
export declare function makePostGitDiffHandler(root: string): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
export declare function makePostGitCommitMessageHandler(root: string): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
export declare function makePostGitPublishHandler(root: string): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
export declare function makeGetRepoInfoHandler(): (req: IncomingMessage, res: ServerResponse) => Promise<void>;
export declare function registerGitRoutes(router: Router, root: string): void;
