import { z } from "zod"; import { type AgenticEndpointAccessConfigSnapshot, type AgenticEndpointAccessConfigSyncProof, type AgenticEndpointAccessForwardedEvent, type AgenticEndpointAccessProtectionOutcome } from "../contracts"; import type { AgenticEndpointAccessCallbackRecord, AgenticEndpointAccessForwardedEventRecord, AgenticEndpointAccessLocalCommitStatus, AgenticEndpointAccessLocalStore, AgenticEndpointAccessReadinessState, AgenticEndpointAccessUsageRecord, PutConfigSnapshotResult, PutSyncProofResult } from "../local-store"; export declare const nodeFileAgenticEndpointAccessLocalStorePostureSchemaVersion: "handshake.agentic-endpoint-access.node-file-store-posture.v0.3.0"; export declare const NodeFileAgenticEndpointAccessLocalStorePostureSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"handshake.agentic-endpoint-access.node-file-store-posture.v0.3.0">; storeKind: z.ZodLiteral<"node_file_reference">; deploymentPosture: z.ZodLiteral<"single_process_reference">; restartDurable: z.ZodLiteral; localReplayBlockingAfterRestart: z.ZodLiteral; multiProcessSafe: z.ZodLiteral; crossProcessLocking: z.ZodLiteral; compareAndSwapWrites: z.ZodLiteral; transactionalAcrossProcesses: z.ZodLiteral; productionMultiProcessEligible: z.ZodLiteral; requiredProductionCapabilities: z.ZodArray>; nonClaims: z.ZodArray; }, z.core.$strict>; export type NodeFileAgenticEndpointAccessLocalStorePosture = z.infer; export declare const nodeFileAgenticEndpointAccessLocalStorePosture: { schemaVersion: "handshake.agentic-endpoint-access.node-file-store-posture.v0.3.0"; storeKind: "node_file_reference"; deploymentPosture: "single_process_reference"; restartDurable: true; localReplayBlockingAfterRestart: true; multiProcessSafe: false; crossProcessLocking: false; compareAndSwapWrites: false; transactionalAcrossProcesses: false; productionMultiProcessEligible: false; requiredProductionCapabilities: ("transactional_write_boundary" | "cross_process_mutual_exclusion_or_cas" | "atomic_outcome_and_outbox_commit" | "conflict_detection_for_usage_outcome_outbox_callback" | "durable_readiness_and_config_sync" | "bounded_replay_idempotency")[]; nonClaims: string[]; }; export declare class NodeFileAgenticEndpointAccessLocalStore implements AgenticEndpointAccessLocalStore { private readonly filePath; constructor(input: { readonly filePath: string; }); putConfigSnapshot(snapshot: AgenticEndpointAccessConfigSnapshot): Promise; getConfigSnapshot(configRevision: string): Promise; getCurrentConfigSnapshot(): Promise; putConfigSyncProof(syncProof: AgenticEndpointAccessConfigSyncProof): Promise; getConfigSyncProof(configRevision: string): Promise; setReadinessState(readiness: AgenticEndpointAccessReadinessState): Promise; getReadinessState(): Promise; putProtectionOutcome(outcome: AgenticEndpointAccessProtectionOutcome): Promise; putProtectionOutcomeWithForwardedEvent(outcome: AgenticEndpointAccessProtectionOutcome, event: AgenticEndpointAccessForwardedEvent): Promise; getProtectionOutcome(idempotencyKey: string): Promise; recordUsage(record: AgenticEndpointAccessUsageRecord): Promise; listUsageRecords(): Promise; enqueueForwardedEvent(event: AgenticEndpointAccessForwardedEvent): Promise; markForwardedEvent(eventId: string, status: "pending" | "sent" | "failed"): Promise; listForwardedEvents(): Promise; listForwardedEventRecords(): Promise; recordCallback(record: AgenticEndpointAccessCallbackRecord): Promise; getCallback(deliveryId: string): Promise; private readState; private writeState; }