/**
 * Vite SPA CDN build preparation (pure).
 *
 * For cloud deploys, hashed assets are uploaded to the Agentuity CDN.
 * Without an absolute Vite `base`, the SPA keeps loading `/assets/…` from
 * the app origin. This module returns command/env overrides so the adapter
 * can apply them without mutating detection results or touching disk.
 *
 * Single mechanism: inject `vite … --base=<cdn>/` into the build command.
 * If the build command does not invoke `vite`, we warn and leave base alone.
 */
export { PACK_ONLY_DEPLOYMENT_ID } from '../cdn-origin.ts';
export { injectViteBaseFlag } from '../vite-cli-base.ts';
export { resolveAgentuityCdnBase as resolveViteCdnBase } from '../cdn-origin.ts';
export interface PrepareViteCdnBuildOptions {
    deploymentId?: string;
    buildCommand: string;
    buildEnv?: Record<string, string>;
    logger: {
        debug: (...args: unknown[]) => void;
    };
    env?: NodeJS.ProcessEnv;
}
export interface ViteCdnBuildOverrides {
    /** Build command after optional `--base` inject (may equal input). */
    buildCommand: string;
    /** Build env with CDN vars merged when wiring applies. */
    buildEnv?: Record<string, string>;
    logs: string[];
    /** Absolute CDN base ending with `/`, or undefined when skipped. */
    cdnBase?: string;
}
/**
 * Compute CDN base overrides for a Vite deploy build.
 * Pure: does not mutate inputs or touch the filesystem.
 */
export declare function prepareViteCdnBuild(options: PrepareViteCdnBuildOptions): ViteCdnBuildOverrides;
//# sourceMappingURL=cdn-build.d.ts.map