import { PrincipalTool } from '@happyvertical/smrt-agents'; import { SmrtClassOptions } from '@happyvertical/smrt-core'; import { SendPersonaMessageOptions } from '@happyvertical/smrt-messages'; export declare const SEND_PERSONA_MESSAGE_TOOL_SLUG = "messages.send"; export declare const SEND_PERSONA_MESSAGE_FUNCTION_NAME = "messages-send"; interface PersonaMessageSender { send(input: SendPersonaMessageOptions): Promise; } export interface CreatePersonaMessagingToolOptions { /** Fixed persona scope. It is intentionally never accepted from tool args. */ personaId: string; /** Optional tenant assertion in addition to the live principal tenant. */ tenantId?: string; db?: SmrtClassOptions['db']; description?: string; /** Test/host seam for alternate delivery orchestration. */ createService?: (options: { db: SmrtClassOptions['db']; tenantId: string; permissions: string[]; }) => PersonaMessageSender; } /** * Agent tool for sending through the current persona's configured routes. * Account ids, destination addresses, credentials, and persona ids never enter * the model-controlled argument surface. */ export declare function createPersonaMessagingTool(options: CreatePersonaMessagingToolOptions): PrincipalTool; export {}; //# sourceMappingURL=persona-messaging-tool.d.ts.map