/**
 * @module        registry
 * @description   Provider 注册中心，根据项目配置创建各后端实例
 *
 * @author        eddy
 * @organization  wykj
 * @ownership     wykj/eddy
 *
 * @created       2026-03-19
 * @updated       2026-04-03
 *
 * @role          provider
 * @layer         provider
 * @boundedContext registry
 */
import type { ProjectConfig } from '../core/config.js';
import type { ProjectContext } from '../core/context.js';
import type { AgentRuntime } from '@coralai/claude-code-agent';
import type { Notifier } from '../interfaces/Notifier.js';
import type { RepoBackend } from '../interfaces/RepoBackend.js';
import type { TaskBackend } from '../interfaces/TaskBackend.js';
export declare function createTaskBackend(config: ProjectConfig, customStates?: string[]): TaskBackend;
export declare function createRepoBackend(config: ProjectConfig): RepoBackend;
export declare function createNotifier(config: ProjectConfig): Notifier;
export declare function createAgentRuntime(ctx: ProjectContext): AgentRuntime;
/** Create AgentRuntime for harness mode (sps agent) — no project config required. */
export declare function createSessionRuntime(sessionCtx: {
    projectName: string;
    paths: {
        repoDir: string;
        logsDir: string;
        stateFile: string;
        acpStateFile?: string;
    };
    config: {
        raw: Record<string, string>;
    };
}): AgentRuntime;
//# sourceMappingURL=registry.d.ts.map