import type { ExecutorContext } from '@nrwl/devkit'; import type { ViteServeSchema } from './schema'; import type { ResolvedServerOptions, ServerOptions, ViteDevServer } from 'vite'; import { Observable } from 'rxjs'; export interface ServeRes { server: ViteDevServer; success: boolean; baseUrl: string; } export default function runExecutor(schema: ViteServeSchema, context: ExecutorContext): AsyncGenerator; export declare function composeBaseUrlForCypress(serverOptions: ServerOptions & ResolvedServerOptions): string; /** * The start method comes from nxextend-vite * @param server * @returns */ export declare function runViteServer(server: ViteDevServer): Observable; export declare function resolveHostname(optionsHost: string | boolean | undefined): { host: string; name: string; };