/** * ACM Client - holds a reference to the OpenCode SDK client. * Initialized once when the plugin is loaded. */ import type { createOpencodeClient } from "@opencode-ai/sdk"; import type { Message, Part } from "@opencode-ai/sdk"; type Client = ReturnType; export type MsgWithParts = { info: Message; parts: Part[]; }; export declare function initClient(client: Client): void; export declare function getClient(): Client; /** * Convenience wrapper: get messages for a session as a plain array. * Returns empty array on error. */ export declare function getMessages(sessionID: string): Promise; export {};