import { Plugin } from "vite"; //#region src/index.d.ts export interface AuiOptions { /** * The app has no backend importing the server builds of its `"use generative"` * modules (e.g. cloud-hosted runs). Frontend/human tool schemas then stay * uploadable from the client instead of being assumed backend-known. */ backendless?: boolean; } /** * Vite plugin that compiles assistant-ui `"use generative"` modules: files that * colocate a tool's schema, server-only `execute`, and client-only `render`. * * Add it to `vite.config`; `enforce: "pre"` makes it run ahead of * `@vitejs/plugin-react`'s JSX transform, so array placement doesn't matter: * * ```ts * import { aui } from "@assistant-ui/vite"; * export default defineConfig({ * plugins: [aui(), tanstackStart(), viteReact()], * }); * ``` */ export declare function aui(options?: AuiOptions): Plugin[]; //#endregion //# sourceMappingURL=index.d.ts.map