/**
 * Launch metadata generation for buildpack-compatible output.
 *
 * Generates the metadata that tells the runtime how to start the application.
 * This is analogous to CNB's launch.toml / Procfile / Docker CMD.
 */
import type { BuildResult } from '../adapters/types.ts';
import type { DetectedFramework } from '../detect/types.ts';
/**
 * Process definition for the launch metadata.
 */
export interface ProcessDefinition {
    /** Process type (e.g., 'web', 'worker') */
    type: string;
    /** Command to execute */
    command: string;
    /** Whether this is the default process */
    default: boolean;
    /** Working directory (relative to app root) */
    workingDirectory?: string;
}
/**
 * Complete launch metadata written to the output directory.
 */
export interface LaunchMetadata {
    /** Application processes */
    processes: ProcessDefinition[];
    /** Framework that was detected */
    framework: {
        name: string;
        version?: string;
    };
    /** Runtime information */
    runtime: {
        name: string;
        port?: number;
    };
    /** Build information */
    build: {
        date: string;
        duration: number;
    };
}
/**
 * Generate launch metadata from a build result and detected framework.
 */
export declare function generateLaunchMetadata(framework: DetectedFramework, buildResult: BuildResult): LaunchMetadata;
/**
 * Write launch metadata to the output directory.
 *
 * Writes both:
 * - launch.json — machine-readable launch metadata
 * - Procfile — simple process definition for compatibility
 */
export declare function writeLaunchMetadata(outputDir: string, metadata: LaunchMetadata): void;
//# sourceMappingURL=launch.d.ts.map