import { type ResolvedNixConfig } from "./config/index.js"; export interface CliOptions { command: "build" | "dev" | "preview" | "start" | "adapter" | "check" | "routes" | "doctor"; adapterName?: "vercel" | "netlify" | "bun" | "node"; root: string; appDir: string; islandsDir?: string; outDir: string; publicDir?: string; generatedEntry: string; clientEntry: string; port: number; host: string; lang: string; hydrateImport?: string; routerImport?: string; /** * Path to a Vite config used to build the client hydration bundle. * In dev mode it is rebuilt whenever source files change. */ clientConfig?: string; /** Absolute path to the ISR cache directory. */ cacheDir?: string; /** Default revalidate interval in seconds for ISR. */ defaultRevalidate?: number; configFile?: string; resolvedConfig?: ResolvedNixConfig; } export declare function doPreview(options: CliOptions): Promise; export declare function run(argv: string[]): Promise;