import { FileJobStore, type JobScope } from './job-store.js'; export type JobPayloadKind = 'input' | 'result'; export interface JobPayloadLimits { itemBytes: number; principalBytes: number; projectBytes: number; } /** Host-only protected JSON value store, bound to job pins and an independent D10 authority. */ export declare class FileJobPayloadStore { private readonly directory; private readonly journal; private readonly externallyDeleted; private readonly limits; private readonly now; private readonly metadataBytes?; private readonly key; constructor(directory: string, key: Buffer, journal: FileJobStore, externallyDeleted: (scope: JobScope, id: string) => Promise, limits: JobPayloadLimits, now?: () => number, metadataBytes?: ((scope: JobScope, tier: "principal" | "project") => Promise) | undefined); put(scope: JobScope, jobId: string, itemId: string, kind: JobPayloadKind, value: unknown): Promise; get(scope: JobScope, jobId: string, itemId: string, kind: JobPayloadKind): Promise; /** Aggregate plaintext sizes for the quota journal, called while holding its shared lock. */ usage(scope: JobScope, tier: 'principal' | 'project'): Promise; /** Host-only D10 eraser; call after independently persisted tombstone and authorized job deletion. */ purgeDeleted(scope: JobScope, jobId: string): Promise; private authorize; private file; private marker; private aad; private ensurePrivate; private mac; private readEnvelope; } //# sourceMappingURL=job-payload-store.d.ts.map