import type { Chat } from 'chat'; import type * as ChatNS from 'chat'; type ChatModule = typeof ChatNS; /** * Lazily imports the `chat` package using a runtime-constructed module specifier. * This prevents bundlers (Vite/Rollup/esbuild) from resolving `chat` at build time, * which is necessary because the `chat` package is ESM-only (no CJS exports) and * breaks Vitest's module graph resolution when imported statically. */ export declare function getChatModule(): Promise; /** * Synchronous accessor for the `chat` module. * Only safe to call after `getChatModule()` has been awaited (e.g. after `AgentChannels.initialize()`). */ export declare function chatModule(): ChatModule; export type { Chat }; //# sourceMappingURL=chat-lazy.d.ts.map