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