import type { PluginContext } from "../../plugin/types"; import type { SessionTracker } from "../../features/analytics"; import type { RuntimeEffect } from "./effects"; import type { TrustedInjectedPromptMetadata } from "./trusted-message-state"; export declare function applyRuntimeEffects(args: { effects: RuntimeEffect[]; output?: { message?: Record; parts?: Array<{ type: string; text?: string; }>; }; client?: PluginContext["client"]; tracker?: SessionTracker; recordInjectedPrompt?: (sessionId: string, text: string, metadata?: TrustedInjectedPromptMetadata) => void; pausePlan?: () => void; pauseWorkflow?: (reason: string) => void; }): Promise;