import { SmrtClassOptions } from '@happyvertical/smrt-core'; import { MessagingPrincipal } from '../permissions.js'; import { MessageSendResult, SendPersonaMessageOptions } from '../types.js'; export interface PersonaMessageSendResult { routeId: string; messageId: string; delivery: MessageSendResult; } /** Resolves a persona-owned route and delivers a persisted outbound message. */ export declare class PersonaMessagingService { private readonly options; constructor(options: { db: SmrtClassOptions['db']; tenantId: string; /** Omit only for trusted system code that performs its own authorization. */ principal?: MessagingPrincipal; }); send(input: SendPersonaMessageOptions): Promise; private resolveRoute; } //# sourceMappingURL=PersonaMessagingService.d.ts.map