import type { AstroPluginOptions } from '@astrojs/vite-plugin-astro';
import type { AstroPluginCli } from '@astrojs/vite-plugin-astro/_internal/cli.js';
import type { AstroSettings, RoutesList } from '../types/astro.js';
import type { AstroLogger } from './logger/core.js';
import type { ServerIslandsState } from './server-islands/shared-state.js';
/** The `astro()` options of an Astro project. */
export declare function toAstroOptions(settings: AstroSettings): AstroPluginOptions;
/** What the `astro` CLI passes to `astro()` besides its options. */
export declare function toAstroCli(settings: AstroSettings, { logger, command, routesList, serverIslandsState, }: {
    logger: AstroLogger;
    command: 'dev' | 'build';
    routesList: RoutesList;
    serverIslandsState: ServerIslandsState;
}): AstroPluginCli;
