/**
 * @module        taskPrompts
 * @description   Worker 任务提示词模板生成
 *
 * @author        eddy
 * @organization  wykj
 * @ownership     wykj/eddy
 *
 * @created       2026-03-28
 * @updated       2026-04-03
 *
 * @role          util
 * @layer         core
 * @boundedContext worker
 */
export type WorkerTaskPhase = 'development' | 'integration';
interface SharedPromptContext {
    taskSeq: string;
    taskTitle: string;
    taskDescription: string;
    cardId: string;
    worktreePath: string;
    branchName: string;
    targetBranch: string;
    mergeMode: 'none' | 'create';
    gitlabProjectId: string;
    skillContent?: string;
    projectRules?: string;
    knowledge?: string;
    /**
     * v0.51.0: pre-rendered wiki context (hot.md + index summary + relevant pages).
     * Produced by `wikiRead → formatWikiContext`. Inserted between `knowledge` and `# Task`.
     * When WIKI_ENABLED=false, callers leave this undefined so nothing is appended.
     */
    wikiContext?: string;
    /**
     * v0.51.0: trailing reminder block pointing to the `wiki-update` skill. Worker
     * sees it after `# How to Run` so it's the last thing read before deciding what
     * to write.
     */
    wikiUpdateReminder?: string;
    /** v0.50.18：完成信号词，默认 "done"。项目 YAML / env 可覆盖。 */
    completionSignal?: string;
}
/** v0.50.18：Worker 完成信号的默认词——Stop hook 监听此词触发 COMPLETED 标签 */
export declare const DEFAULT_COMPLETION_SIGNAL = "done";
interface PhasePromptContext extends SharedPromptContext {
    phase: WorkerTaskPhase;
}
export declare function buildPhasePrompt(ctx: PhasePromptContext): string;
/**
 * Build prompt for non-git task (git: false pipeline).
 * No branch, worktree, push, or merge instructions.
 */
export declare function buildTaskPrompt(ctx: SharedPromptContext): string;
export {};
//# sourceMappingURL=taskPrompts.d.ts.map