/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import type { BuilderContext } from '@angular-devkit/architect'; import { InlineConfig } from 'vite'; import type { NormalizedDevServerOptions } from './options'; import { Tweaks } from './tweaks'; import type { DevServerBuilderOutput } from './webpack-server'; interface OutputFileRecord { contents: Uint8Array; size: number; hash?: Buffer; updated: boolean; } export declare function serveWithVite(serverOptions: NormalizedDevServerOptions, builderName: string, context: BuilderContext): AsyncIterableIterator; export declare function setupServer(serverOptions: NormalizedDevServerOptions, outputFiles: Map, assets: Map, preserveSymlinks: boolean | undefined, prebundleExclude: string[] | undefined, ssr: boolean, tweaks: Tweaks): Promise; export {};