/**
 * Embedded Git Smart HTTP Server
 *
 * Enables authenticated git clone, fetch, and push over HTTP.
 * Uses Basic Auth against AuthService for credentials.
 *
 * Endpoints:
 *   GET  /git/:repo/info/refs?service=git-upload-pack   — advertise refs (clone/fetch)
 *   GET  /git/:repo/info/refs?service=git-receive-pack  — advertise refs (push)
 *   POST /git/:repo/git-upload-pack                     — clone/fetch data
 *   POST /git/:repo/git-receive-pack                    — push data
 *
 * Access rules:
 *   - No users configured (open mode) → full access
 *   - Admin → all folders
 *   - Member → only granted folders
 *   - Private repos → owner only
 */
import type { FastifyInstance } from 'fastify';
import type { WsHub } from '../ws-hub.js';
import type { WorkspaceManager } from '../../core/workspace-manager.js';
import { type AuthService } from '../../services/auth-service.js';
export declare function registerGitHttpRoutes(fastify: FastifyInstance, workspaceManager: WorkspaceManager, authService: AuthService, workspacePath: string, wsHub?: WsHub): Promise<void>;
