/**
 * Config API routes
 *
 * Endpoints for syncing workspace configuration (auth seed, workspace.json,
 * ABOUT.md, sources, connectors) between a local machine and a remote
 * Studiograph server via `studiograph push/pull --remote`.
 *
 * Folder markdown data is NOT handled here — it flows through the embedded
 * git HTTP server at /git/:repo (see git-http.ts), which gives us native
 * conflict detection, commit history, and per-folder granularity.
 *
 * All routes require admin authentication.
 *
 *   GET  /api/config/bundle   — export workspace config as JSON bundle
 *   POST /api/config/bundle   — import workspace config bundle
 */
import type { FastifyInstance } from 'fastify';
import type { WorkspaceManager } from '../../core/workspace-manager.js';
import { type AuthService } from '../../services/auth-service.js';
export declare function isSafeConfigBundleName(name: string): boolean;
export declare function registerConfigApiRoutes(fastify: FastifyInstance, workspaceManager: WorkspaceManager, workspacePath: string, authService: AuthService): Promise<void>;
