import type { HarnessSpec, RuntimeProfileSpec } from './cli-adapters/base.js'; import type { TicketRepositoryContext } from './worktree-manager.js'; export declare const AGENT_CONTEXT_VERSION = "1.2"; export declare const AGENT_CONTEXT_MAX_CHARS = 16000; export interface AgentContextContractInput { ticket: any; role: string; repository?: TicketRepositoryContext; harness?: HarnessSpec | null; runtimeProfile?: RuntimeProfileSpec | null; sessionMode?: 'persistent' | 'stateless' | 'hermes'; mcpAvailable?: boolean; effort?: string | null; } export declare class AgentContextPreflightError extends Error { readonly category: 'ticket' | 'column' | 'repository'; constructor(category: 'ticket' | 'column' | 'repository', message: string); } export declare function redactAgentContextText(value: string): string; export declare function buildAgentContextContract(input: AgentContextContractInput): any; export declare function renderAgentContextContract(contract: ReturnType): string;