export interface CancelResult { readonly cancelled: number; readonly scanned: number; readonly paths: readonly string[]; } /** * Walk `.peaks/_sub_agents//`, mark every in-flight record as * `cancelled + disposed`, write back atomically (tmp + rename), and * return the count. Records that already have `completedAt` set are * skipped (they were already finished by the time cancel fired). */ export declare function cancelInFlightDispatches(projectRoot: string, sessionId: string, options?: { now?: () => Date; }): CancelResult;