import { openNolGgufControlInventory } from "../_types/execution/nol/gguf-control-reader.js"; import { type NolArtifactStore } from "../_types/execution/nol/artifacts.js"; import type { NolJob, NolStore } from "../_types/orchestrator/nol/store.js"; import type { NolGgufParameterInventoryHandle, NolGgufParameterInventoryProvider } from "./gguf-parameter-inventory.js"; import { type NolGgufCpuControlReaderProfile } from "./gguf-cpu-control-reader-profile.js"; export { NolGgufCpuControlReaderProfileSchema, type NolGgufCpuControlReaderProfile } from "./gguf-cpu-control-reader-profile.js"; /** Generic durable CPU-reader family; GGUF scope/admission/report grammars stay * distinct. This job kind is provenance, never numerical/native authority. */ export declare const NOL_GGUF_CPU_CONTROL_READER_JOB_KIND = "nol_cpu_control_reader"; export interface NolGgufCpuControlReaderContext { actorId: string; planDigest: string; assertAuthorized(): void; } export interface NolGgufCpuControlReaderServiceOptions { id: string; projectRoot: string; workRoot: string; store: NolStore; artifacts: NolArtifactStore; ownerId: string; profiles: readonly NolGgufCpuControlReaderProfile[]; limits: { maxJobs: number; maxActiveHandles: number; maxReportBytesPerJob: number; maxMetadataBytesPerJob: number; maxTotalStorageBytes: number; minimumFreeBytes: number; maxDurationMs: number; }; leaseMs?: number; /** Trusted CPU lifecycle fixture only. The production default invokes the * actual pinned execution reader; requests/configuration cannot supply this. */ openInventory?: typeof openNolGgufControlInventory; } type Input = Parameters[0]; export declare class NolGgufCpuControlReaderServiceError extends Error { readonly jobId: string; readonly resourcesClosed: boolean; constructor(message: string, jobId: string, resourcesClosed: boolean, options?: ErrorOptions); } /** Durable bounded CPU custody. Slots cover retained private reports, CAS * copies/transient publication and metadata before a helper may execute. These * are logical scope reservations, not a system-wide filesystem allocation. * No result grants numerical, scientific, native/GPU, or promotion authority. * Dense versus opaque/quantized control eligibility is decided independently by * the separate GGUF verifier, never by successful inventory acquisition. */ export declare class NolGgufCpuControlReaderService { private readonly options; readonly projectId: string; readonly scopeDigest: string; private readonly root; private readonly workRoot; private readonly rootIdentity; private readonly scopeId; private readonly scope; private readonly ownerId; private readonly leaseMs; private readonly limits; private readonly profiles; private readonly active; private readonly casQuota; private readonly cleanupQuota; private closing; constructor(options: NolGgufCpuControlReaderServiceOptions); get ownedJobIds(): string[]; private directoryIdentity; private assertScope; private authorize; private space; provider(context: NolGgufCpuControlReaderContext): NolGgufParameterInventoryProvider; private current; private admission; open(input: Input, context: NolGgufCpuControlReaderContext): Promise; private revoke; private acquireMarker; private releaseMarker; private publish; private historicalClaim; private openPhysical; private handle; private reportBytes; private watchReports; private archive; private finalize; private finish; cancel(jobId: string, actorId: string, reason?: string): NolJob; stopOwned(actorId: string, reason?: string): Promise; shutdown(): Promise; }