import type { Rolldown } from 'vite';
import { type CompileProps, type CompileResult } from '../core/compile/index.js';
import type { CompileMetadata } from './types.js';
interface CompileAstroOption {
    compileProps: CompileProps;
    astroFileToCompileMetadata: Map<string, CompileMetadata>;
}
export interface CompileAstroResult extends Omit<CompileResult, 'map'> {
    map: Rolldown.SourceMapInput;
}
export declare function compileAstro({ compileProps, astroFileToCompileMetadata, }: CompileAstroOption): Promise<CompileAstroResult>;
export {};
