import type { ForegroundExecution } from './acceptance.js'; export interface ForegroundTaskIdentity { protocol: 'assistant-delivery/foreground-task/v1'; inboxId: string; sessionId: string; scope: { workspace: string; preset: string; }; owner: { principalRecordId: string; principalVersion: number; }; binding: { id: string; version: number; generation: number; }; dispatchedAt: number; } /** Content-free proof of one native call in the currently claimed owner task. */ export interface ForegroundToolCallAttestation { protocol: 'assistant-delivery/foreground-tool-call/v1'; task: ForegroundTaskIdentity; turn: number; call: { id: string; toolName: string; eventSeq: number; eventDigest: string; argumentsDigest: string; }; } export interface ForegroundTaskObservationRegistration { protocol: 'plugin-control-plane/foreground-observer/v1'; generation: string; owner: { ownsForegroundTaskObservationRegistration(registration: ForegroundTaskObservationRegistration): boolean; }; begin(task: Readonly): unknown; completed(handle: unknown, task: Readonly, execution: Readonly): void; } export declare function validForegroundObservationRegistration(value: unknown): value is ForegroundTaskObservationRegistration; export declare function isSynchronousForegroundObservationHandle(value: unknown): boolean; //# sourceMappingURL=foreground-observation.d.ts.map