/** * Append an `ignored: true` synthetic user message to a session. * * Used for user-facing informational panels that must NOT trigger an agent * turn (e.g. status output, the external-directory restriction notice). The * message renders under the current agent (resolved from recent messages) so * it shows in the right place in the OpenCode UI, and carries `noReply: true` * so no LLM call is made. * * Model/variant ARE passed when resolvable, mirroring the session's newest * context: OpenCode's `createUserMessage` resolves an omitted model as * `agent.model ?? session-current ?? default` and PERSISTS the result via * `setAgentModel` — so omitting the model on a session whose user picked a * non-default model silently resets the session's model/variant (observed on * OpenCode Desktop via /aft-status). Passing the resolved current context * makes that persistence a no-op. Older OpenCode builds crashed when model * was supplied on a `noReply: true` prompt, so on any failure we retry once * without model/variant rather than dropping the message. */ export declare function sendIgnoredMessage(client: unknown, sessionID: string, text: string): Promise; //# sourceMappingURL=ignored-message.d.ts.map