/// <reference types="node" />
import type { AstroConfig } from '../../@types/astro-core';
import type { LogOptions } from '../logger';
import http from 'http';
interface PreviewOptions {
    logging: LogOptions;
}
interface PreviewServer {
    hostname: string;
    port: number;
    server: http.Server;
    stop(): Promise<void>;
}
/** The primary dev action */
export default function preview(config: AstroConfig, { logging }: PreviewOptions): Promise<PreviewServer>;
export {};
