import type { AstroConfig } from '../../@types/astro'; import { type CompileProps, type CompileResult } from './compile.js'; export declare function isCached(config: AstroConfig, filename: string): boolean; export declare function getCachedCompileResult(config: AstroConfig, filename: string): CompileResult | null; export declare function invalidateCompilation(config: AstroConfig, filename: string): void; export declare function cachedCompilation(props: CompileProps): Promise;