import type { ChatSystemMessage } from "../../chat/types.js"; export { DELEGATE_ONLY_WHEN_MATERIALLY_HELPFUL, KEEP_ROOT_ASSISTANT_VISIBLE_OWNER, LOAD_SKILL_CONTINUE_SAME_TURN, LOAD_SKILL_OVERRIDE_FORWARDING, LOAD_SKILL_POLICY_CLAUSES, } from "../../skill/load-skill-policy.js"; /** Shared no delegation narration unless asked value. */ export declare const NO_DELEGATION_NARRATION_UNLESS_ASKED = "Do not mention child agents, delegation, or tool/process narration unless the user explicitly asks about them."; /** Shared synthesize delegated findings in root voice value. */ export declare const SYNTHESIZE_DELEGATED_FINDINGS_IN_ROOT_VOICE = "After delegated work returns, synthesize the findings in the root assistant voice."; /** Shared load skill continue same turn now value. */ export declare const LOAD_SKILL_CONTINUE_SAME_TURN_NOW = "Continue the same turn now."; /** Shared load skill root ownership value. */ export declare const LOAD_SKILL_ROOT_OWNERSHIP = "Keep the root assistant visibly owning the work."; /** Shared load skill delegation threshold value. */ export declare const LOAD_SKILL_DELEGATION_THRESHOLD = "Delegate only when isolation, parallelism, or a different tool/model budget materially helps."; /** Builds root owned delegated findings instruction. */ export declare function buildRootOwnedDelegatedFindingsInstruction(): string; /** Shared root owned child result instruction value. */ export declare const ROOT_OWNED_CHILD_RESULT_INSTRUCTION: string; /** Builds root owned child result hint. */ export declare function buildRootOwnedChildResultHint(text: string): { instruction: string; suggestedText: string; }; /** Public API contract for root owned child result hint. */ export interface RootOwnedChildResultHint { instruction: string; suggestedText: string; } /** Public API contract for root owned child result hinted. */ export interface RootOwnedChildResultHinted { rootResponseHint?: RootOwnedChildResultHint; } /** Applies root owned child result hint. */ export declare function withRootOwnedChildResultHint(result: T): T & RootOwnedChildResultHinted; /** Builds invoke agent followup instruction. */ export declare function buildInvokeAgentFollowupInstruction(): string; /** Builds starter intent root ownership reminder. */ export declare function buildStarterIntentRootOwnershipReminder(): string; /** Message shape for build starter intent root ownership block. */ export declare function buildStarterIntentRootOwnershipBlockMessage(): string; /** Shared load skill continuation reminder value. */ export declare const LOAD_SKILL_CONTINUATION_REMINDER = "CRITICAL: load_skill only loaded instructions. Continue the same turn now. Keep the root assistant visibly owning the work. Use the loaded skill guidance to proceed. Delegate only when isolation, parallelism, or a different tool/model budget materially helps. Do not stop immediately after load_skill."; /** Shared slash command artifact reminder value. */ export declare const SLASH_COMMAND_ARTIFACT_REMINDER = "CRITICAL: This slash-command task names an exact artifact path. Keep the root assistant visibly owning the work. Treat that path as a required deliverable, and continue in the same turn. Delegate only when isolation materially helps."; /** Shared first turn starter intent root ownership reminder value. */ export declare const FIRST_TURN_STARTER_INTENT_ROOT_OWNERSHIP_REMINDER: string; /** Shared first turn starter intent root ownership context key value. */ export declare const FIRST_TURN_STARTER_INTENT_ROOT_OWNERSHIP_CONTEXT_KEY = "__vfStarterIntentRootOwnership"; /** Shared first turn starter intent root ownership block message value. */ export declare const FIRST_TURN_STARTER_INTENT_ROOT_OWNERSHIP_BLOCK_MESSAGE: string; type StarterIntentTurnPolicyInput = { messages: readonly unknown[]; step: number; }; type StarterIntentTurnPolicy = { starterIntentId: string | null; keepConversationFirst: boolean; shouldAddRootOwnershipReminder: boolean; shouldBlockImmediateDelegation: boolean; }; /** Extract starter intent ID. */ export declare function extractStarterIntentId(messages: readonly unknown[]): string | null; /** Evaluate starter intent turn policy helper. */ export declare function evaluateStarterIntentTurnPolicy(input: StarterIntentTurnPolicyInput): StarterIntentTurnPolicy; /** Add first turn starter intent root ownership reminder helper. */ export declare function addFirstTurnStarterIntentRootOwnershipReminder(system: string): string; export declare function addFirstTurnStarterIntentRootOwnershipReminder(system: ChatSystemMessage[]): ChatSystemMessage[]; export declare function addFirstTurnStarterIntentRootOwnershipReminder(system: string | ChatSystemMessage[]): string | ChatSystemMessage[]; /** Check whether starter intent root ownership is required. */ export declare function isStarterIntentRootOwnershipRequired(value: unknown): boolean; /** Should reinforce load skill continuation helper. */ export declare function shouldReinforceLoadSkillContinuation(messages: readonly unknown[]): boolean; /** Add load skill continuation reminder helper. */ export declare function addLoadSkillContinuationReminder(instructions: string | ChatSystemMessage[]): string | ChatSystemMessage[]; /** Add slash command artifact reminder helper. */ export declare function addSlashCommandArtifactReminder(instructions: string | ChatSystemMessage[]): string | ChatSystemMessage[]; //# sourceMappingURL=delegation-policy.d.ts.map