import { CompilerMode } from ".";
import { XmcpConfigOuputSchema } from "./config";
interface CompilerContext {
    /** The mode of the compiler. */
    mode: CompilerMode;
    /** The project root directory (absolute path). */
    projectRoot: string;
    /** Whether the adapter is enabled. */
    adapter?: boolean;
    /** The platforms to build for. */
    platforms: {
        /** Generates a .vercel folder to deploy on Vercel */
        vercel?: boolean;
    };
    /** The paths to the tools. */
    toolPaths: Set<string>;
    /** Whether the middleware is enabled. */
    hasMiddleware: boolean;
    /** The parsed config. */
    xmcpConfig?: XmcpConfigOuputSchema;
}
export declare const compilerContext: import("../utils/context").Context<CompilerContext>;
export declare const compilerContextProvider: (initialValue: Omit<CompilerContext, "toolPaths" | "hasMiddleware">, callback: () => void) => void;
export declare const getXmcpConfig: () => XmcpConfigOuputSchema;
export {};
