import type { InboundMessageContext } from '../../agent/models/InboundMessageContext'; import type { ConnectionRecord } from '../connections'; import type { Key } from '../dids/domain/Key'; import type { OutOfBandRecord } from './repository'; import { EventEmitter } from '../../agent/EventEmitter'; import { OutOfBandState } from './domain/OutOfBandState'; import { HandshakeReuseMessage } from './messages'; import { HandshakeReuseAcceptedMessage } from './messages/HandshakeReuseAcceptedMessage'; import { OutOfBandRepository } from './repository'; export declare class OutOfBandService { private outOfBandRepository; private eventEmitter; constructor(outOfBandRepository: OutOfBandRepository, eventEmitter: EventEmitter); processHandshakeReuse(messageContext: InboundMessageContext): Promise; processHandshakeReuseAccepted(messageContext: InboundMessageContext): Promise; createHandShakeReuse(outOfBandRecord: OutOfBandRecord, connectionRecord: ConnectionRecord): Promise; save(outOfBandRecord: OutOfBandRecord): Promise; updateState(outOfBandRecord: OutOfBandRecord, newState: OutOfBandState): Promise; emitStateChangedEvent(outOfBandRecord: OutOfBandRecord, previousState: OutOfBandState | null): void; findById(outOfBandRecordId: string): Promise; getById(outOfBandRecordId: string): Promise; findByInvitationId(invitationId: string): Promise; findByRecipientKey(recipientKey: Key): Promise; getAll(): Promise; deleteById(outOfBandId: string): Promise; }