/**
 * Build metadata generator for non-Agentuity framework deployments.
 *
 * For Agentuity native apps, the existing metadata-generator.ts creates
 * full BuildMetadata with routes, agents, assets from the Vite pipeline.
 *
 * For other frameworks (Next.js, Vite, SvelteKit, etc.), this module
 * generates a BuildMetadata from the BuildResult + LaunchMetadata,
 * with empty routes/agents and assets enumerated from the static dir.
 */
import { type BuildMetadata, DeploymentConfig } from '@agentuity/server';
import type { z } from 'zod';
import type { BuildResult } from './cmd/build/adapters/types.ts';
import type { PackageResult } from './cmd/build/package/index.ts';
import type { DeployOptions, Logger } from './types.ts';
export interface GenerateDeployMetadataOptions {
    /** Build result from the adapter */
    buildResult: BuildResult;
    /** Package result with launch metadata */
    packageResult: PackageResult;
    /** Absolute path to the project root */
    projectDir: string;
    /** Project ID */
    projectId: string;
    /** Organization ID */
    orgId: string;
    /** Region */
    region: string;
    /** Deployment ID */
    deploymentId: string;
    /** Deployment config from agentuity.json */
    deploymentConfig?: z.infer<typeof DeploymentConfig>;
    /** Deploy CLI options (git info, etc.) */
    deploymentOptions?: DeployOptions;
    /**
     * The project's registered name in the cloud, if known. When set, this is
     * used as `project.name` in the generated metadata instead of the
     * package.json `name` field. The cloud project name is the source of
     * truth once a project is registered; renaming package.json should not
     * try to silently rename the cloud project (which fails with a name
     * collision against any other project in the org with that name).
     *
     * Tracked server-side at agentuity/infra#482 — once the platform stops
     * using `project.name` from BuildMetadata as a uniqueness key on the
     * deployment-update path, the pinning here becomes redundant and can
     * be removed.
     */
    registeredProjectName?: string;
    /** Logger */
    logger: Logger;
}
/**
 * Generate BuildMetadata for a non-Agentuity framework deployment.
 *
 * Creates the metadata the API expects, with:
 * - Empty routes and agents (non-Agentuity apps don't have them)
 * - Static assets enumerated from BuildResult.staticDir
 * - Launch metadata for the backend to know how to start the app
 * - Standard project/deployment info
 */
export declare function generateDeployMetadata(options: GenerateDeployMetadataOptions): Promise<BuildMetadata>;
//# sourceMappingURL=deploy-metadata.d.ts.map