import type { CapgoSDK } from '../../../sdk.js';
import type { EngineDeps } from './engine.js';
import type { BuildJobDeps } from './build-job.js';
import { type CredentialsManageDeps } from './credentials-manage.js';
/** Minimal shape of the MCP server's tool registrar (matches McpServer.tool). */
interface McpLike {
    tool: (name: string, description: string, schema: Record<string, unknown>, handler: (args: any) => Promise<{
        content: Array<{
            type: 'text';
            text: string;
        }>;
    }>) => unknown;
    prompt?: (name: string, description: string, handler: () => {
        messages: Array<{
            role: 'user' | 'assistant';
            content: {
                type: 'text';
                text: string;
            };
        }>;
    }) => unknown;
}
/**
 * Production EngineDeps wiring. Exported for tests that pin production-only
 * behavior (clearBuildRecord wiring, keystore file modes).
 */
export declare function buildDeps(getSdk: () => CapgoSDK): EngineDeps;
/**
 * Register the 2-tool onboarding spine onto an MCP server.
 * `depsOverride` is for tests; production passes only `server` + `sdk`.
 */
export declare function registerOnboardingTools(server: McpLike, getSdk: () => CapgoSDK, depsOverride?: EngineDeps, buildJobDepsOverride?: BuildJobDeps, credentialsManageDepsOverride?: CredentialsManageDeps): void;
export {};
