import type { ContractStreamEvent, EndpointAccessLeaseCommit, EndpointAccessLeaseCommitResult, EndpointAccessRecordScope, EndpointAccessUsageCommit, EndpointAccessUsageCommitResult, EndpointAccessUsageCounterKey, GreenlightConsumption, IdempotencyLedgerEntry, IsolationScopeRef, IsolationState, ProtocolCommit, ProtocolCommitResult, ProtocolStore, RawRecordReadAuditReader, ProtocolObjectType, ProtectedPathPosture, ProtectedSurfaceOperationClaim, Receipt, RawRecordReadAuditQuery, RawRecordReadAuditRecordScope, StreamEventRange, GatewayCheckCommit, GatewayCheckCommitResult, StoredProtocolRecord, StreamTail } from "../../protocol/store/port"; import { MemoryAuthoritySourceStore } from "./authority-source"; export declare class InMemoryProtocolStore extends MemoryAuthoritySourceStore implements ProtocolStore, RawRecordReadAuditReader { #private; putRecord(record: StoredProtocolRecord): Promise; putRecordIfAbsentOrSame(record: StoredProtocolRecord): Promise<"exact" | "conflict">; getRecord(objectType: ProtocolObjectType, objectId: string): Promise | null>; listRecordsByType(objectType: ProtocolObjectType, scope?: { tenantId?: string; organizationId?: string; }): Promise[]>; listRecordsByActionContract(objectType: ProtocolObjectType, actionContractId: string, scope?: { tenantId?: string; organizationId?: string; }): Promise[]>; listRawRecordReadAudits(scope: RawRecordReadAuditRecordScope, query: RawRecordReadAuditQuery): Promise[]>; getStreamTail(streamId: string, partitionKey: string): Promise; getStreamEvent(streamId: string, partitionKey: string, offset: number): Promise; listStreamEvents(streamId: string, partitionKey: string, range?: StreamEventRange): Promise; getCurrentProtectedPathPosture(postureScopeKey: string): Promise | null>; getCurrentIdempotencyLedgerEntry(ledgerKeyDigest: string): Promise | null>; getCurrentProtectedSurfaceOperationClaim(claimKeyDigest: string): Promise | null>; getReceiptByMutationAttemptId(mutationAttemptId: string): Promise | null>; appendEvent(event: ContractStreamEvent): Promise; listIsolationStates(scopeRefs: IsolationScopeRef[]): Promise; consumeGreenlight(consumption: GreenlightConsumption): Promise<"consumed" | "already_consumed">; commitProtocolRecords(commit: ProtocolCommit): Promise; commitGatewayCheck(commit: GatewayCheckCommit): Promise; commitEndpointAccessLease(commit: EndpointAccessLeaseCommit): Promise; getEndpointAccessLeaseByGreenlightId(greenlightId: string, scope: EndpointAccessRecordScope): Promise | null>; getEndpointAccessClearanceBindingByAttemptId(attemptId: string, scope: EndpointAccessRecordScope): Promise | null>; listEndpointAccessUsageEventsByLeaseId(leaseId: string, scope: EndpointAccessRecordScope): Promise[]>; getEndpointAccessUsageCounter(key: EndpointAccessUsageCounterKey): Promise; commitEndpointAccessUsage(commit: EndpointAccessUsageCommit): Promise; countRecordsOfType(objectType: ProtocolObjectType): number; listEventsForPartition(streamId: string, partitionKey: string): ContractStreamEvent[]; private hasStreamOffset; private hasStreamConflict; private hasRecordDigestConflict; private stageRecordsAndEvents; }