import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import type { SyncReport } from '../types/index.js';
/**
 * Sync spec state for a single project.
 * Reads YAML frontmatter from spec.md files and reconciles divergences into the store.
 */
export declare function syncSpecState(projectPath: string, projectId: string): Promise<SyncReport>;
/**
 * Startup sync: iterates all registered projects and calls syncSpecState for each.
 * Non-blocking — errors are logged but not propagated.
 */
export declare function startupSync(): Promise<void>;
/**
 * Registers the sync_spec_state tool on the MCP server (SPEC-334).
 * Always-on (free) tool — registered directly without safeLicensed.
 */
export declare function registerSyncSpecStateTool(server: McpServer): void;
//# sourceMappingURL=sync-spec-state-handler.d.ts.map