import { AgentContext } from '@credo-ts/core'; import { VtFlowRecord, VtFlowService } from '@verana-labs/credo-ts-didcomm-vt-flow'; import { VsAgent } from '../../agent/VsAgent'; import { VeranaIndexerService } from '../VeranaIndexerService'; import { IndexerActivity, VeranaSyncState } from '../types'; export declare function applyStateMutation(state: VeranaSyncState, activity: IndexerActivity): void; export declare function upsertEcosystem(state: VeranaSyncState, activity: IndexerActivity): void; export declare function bumpActiveVersion(state: VeranaSyncState, activity: IndexerActivity): void; export declare function upsertCredentialSchema(state: VeranaSyncState, activity: IndexerActivity): void; export declare function upsertParticipant(state: VeranaSyncState, activity: IndexerActivity, overrides?: { opState?: string; revoked?: boolean; slashed?: boolean; effectiveUntil?: string; }): void; export declare function reconcileVtFlowRecordsForParticipant(agent: VsAgent, participantId: string, reconcile: (record: VtFlowRecord, service: VtFlowService, agentContext: AgentContext) => Promise, errorLabel: string): Promise; export declare function markVtFlowRecordsValidated(agent: VsAgent, participantId: string): Promise; export declare function setVtFlowRecordsParticipantRevoked(agent: VsAgent, participantId: string): Promise; export declare function setVtFlowRecordsParticipantSlashed(agent: VsAgent, participantId: string): Promise; /** VSA-VTI-FLOW-OP-REVOKE: a revoked/slashed HOLDER's credential is gone; drop its linked VP and stored VTC. */ export declare function removeHolderTrustCredentialIfRevoked(agent: VsAgent, participantId: string): Promise; export declare function reconcileVtFlowRecordsOnCancel(agent: VsAgent, participantId: string): Promise; export declare function startParticipantOPAutoFlow(agent: VsAgent, activity: IndexerActivity): Promise; export declare function reconcileVtjscPublications(agent: VsAgent, indexer: VeranaIndexerService, corporationId: number): Promise; export declare function publishVtjscIfOwner(state: VeranaSyncState, agent: VsAgent, schemaEntityId: string): Promise;