import type { MemoryRegistry } from '../state/index.js';
import type { AgentRecord } from '../tools/agent/index.js';
type PromptContextDeps = {
    readonly workingDirectory: string;
    readonly knowledgeService?: {
        buildPromptPacketSync(task: string, writeScope?: readonly string[]): string | null;
    };
    readonly memoryRegistry?: Pick<MemoryRegistry, 'getAll' | 'searchSemantic'>;
    readonly archetypeLoader?: {
        loadArchetype(template: string): {
            systemPrompt?: string;
        } | null | undefined;
    };
};
/**
 * Build a layered system prompt from base instructions, archetype, project
 * context, conventions, knowledge injections, and task text.
 */
export declare function buildOrchestratorSystemPrompt(record: AgentRecord, skipLayers?: Set<string>, deps?: PromptContextDeps): string;
/**
 * Build a system prompt with progressively fewer layers based on token budget.
 * Layer order (dropped last to first when space is tight):
 *   Layer 5: Task (always included)
 *   Layer 1: Base instructions (always included)
 *   Layer 2: Archetype overlay (always included)
 *   Layer 3: Project context (dropped first when tight)
 *   Layer 4: Conventions (dropped first when tightest)
 *
 * When remainingTokens is 0, returns the minimal prompt (layers 1+2+5 only).
 */
export declare function buildLayeredOrchestratorSystemPrompt(record: AgentRecord, remainingTokens: number, deps?: PromptContextDeps): string;
export {};
//# sourceMappingURL=orchestrator-prompts.d.ts.map