import { type CometPluginContextContribution, type CometPluginContextRequest } from '../comet-plugin/index.js'; import type { MemoryLearningStatus } from '../comet-memory/index.js'; import { type AgentContextExpansion, type AgentContextOutcomeStatus, type AgentContextOutcomeEvidence, type AgentExperienceEventType } from '../agent-learning/index.js'; export declare function collectCometPluginContext(projectRoot: string, request: CometPluginContextRequest, options?: { lockTimeoutMs?: number; bestEffortContext?: boolean; }): Promise; /** * Hook context is advisory. Bound the whole bridge path so a held plugin, * memory, or provider lock can never delay a write Hook indefinitely. The * in-flight operation is intentionally allowed to finish on its own; the * best-effort bridge performs no durable context writes or reflection replay. */ export declare function collectCometHookContext(projectRoot: string, request: CometPluginContextRequest): Promise; export declare function expandCometPluginContext(projectRoot: string, id: string, request: CometPluginContextRequest): Promise; export declare function recordCometContextOutcome(options: { readonly projectRoot: string; readonly applicationId: string; readonly outcome: AgentContextOutcomeStatus; readonly evidence?: AgentContextOutcomeEvidence; }): Promise; export declare function recordCometWorkflowResult(options: { readonly projectRoot: string; readonly workflow: string; readonly changeId: string; readonly command: string; readonly success: boolean; readonly eventType?: AgentExperienceEventType; readonly changedPaths?: readonly string[]; readonly artifactRefs?: readonly string[]; readonly verificationCommands?: readonly string[]; readonly verificationResults?: readonly { readonly command: string; readonly success: boolean; }[]; readonly summary?: string; /** Whether the host performed the task-end learning check. */ readonly learningCheck?: 'submitted' | 'no-observation' | 'not-run'; }): Promise; //# sourceMappingURL=plugin-context.d.ts.map