import type { ResponderNotification } from "../../tools/jobs.js"; export interface ResponderReadRequest { readonly toolName: string; readonly notificationId: string; readonly jobId: string; } export interface ResponderReadWakeIdentity { readonly wakeTurn: boolean; readonly notificationId: string | undefined; readonly jobId: string | undefined; readonly resultRevision: number | undefined; } export interface ResponderReadPorts { readonly pendingNotifications: readonly ResponderNotification[]; readonly matchesWakeRevision: (notification: ResponderNotification) => boolean; readonly isClaimed: (notificationId: string) => boolean; readonly markRead: (notificationId: string) => boolean; } export interface ResponderReadDecision { readonly marked: boolean; readonly output: string; readonly ledgerNotification: ResponderNotification | undefined; readonly releaseClaimId: string | undefined; } export declare const parseResponderReadRequest: (toolName: string, args: Record) => ResponderReadRequest; export declare const decideResponderRead: (request: ResponderReadRequest, wake: ResponderReadWakeIdentity, ports: ResponderReadPorts) => ResponderReadDecision;