import { defineConfig, type Plugin } from "vite"; export interface RunworkPluginOptions { /** * Override the detected mode. By default, the plugin detects sandbox mode * when DEPLOYMENT_MODE or WORKSPACE_ID environment variables are present. */ mode?: "sandbox" | "local"; /** * Root directory of the project. Defaults to process.cwd(). */ root?: string; /** * Path aliases to configure. Defaults to { "@": "./src", "@shared": "./shared" }. */ aliases?: Record; /** * Whether to use JSON logging (pino) in sandbox mode. * Defaults to true when VITE_LOGGER_TYPE=json. */ jsonLogger?: boolean; } export declare function runwork(options?: RunworkPluginOptions): ReturnType; export type { Plugin };