import type { DrizzleExecutor } from "../drizzle.js"; export interface AgentPluginReferencedUser { id: string; username: string; firstName: string; lastName?: string; kind: "human" | "agent"; triggeredTurn: boolean; } /** * Resolves the exact active agent's running turn, its triggering sender, and every concrete user mention recorded on that message. * This read-only boundary keeps plugin capabilities tied to current users.active authority and durable turn provenance instead of inferring authority from a reusable Rig session. */ export declare function agentTurnGetPluginContext(executor: DrizzleExecutor, input: { runId: string; sessionId: string; }): Promise<{ agentUserId: string; chatId: string; triggeredByUserId: string; users: AgentPluginReferencedUser[]; } | undefined>; //# sourceMappingURL=agentTurnGetPluginContext.d.ts.map