/**
 * Serverless export orchestrator
 * Generates deployment-ready handlers for various platforms
 */
/**
 * Export target identifier.
 *
 * Widened to `string` so marketplace packs can register arbitrary targets
 * without modifying core.
 */
export type ExportTarget = string;
/**
 * Options for exporting a workflow
 */
export interface ExportOptions {
    /** Target platform */
    target: ExportTarget;
    /** Input workflow file */
    input: string;
    /** Output directory */
    output: string;
    /** Specific workflow name (if file has multiple) */
    workflow?: string;
    /** Production mode (no debug events) */
    production?: boolean;
    /** Bundle workflow into single file (future feature) */
    bundle?: boolean;
    /** Dry run - preview without writing files */
    dryRun?: boolean;
    /** Export all workflows in file as a single multi-workflow service */
    multi?: boolean;
    /** Specific workflow names to export (subset when using multi) */
    workflows?: string[];
    /** Include API documentation routes */
    includeDocs?: boolean;
    /** Use deep generator with per-node durable steps (target-specific) */
    durableSteps?: boolean;
}
/**
 * Result of export operation
 */
export interface ExportResult {
    /** Target platform */
    target: ExportTarget;
    /** Generated files */
    files: Array<{
        path: string;
        content: string;
    }>;
    /** Workflow name */
    workflow: string;
    /** Workflow description */
    description?: string;
    /** All workflow names (for multi-workflow export) */
    workflows?: string[];
    /** OpenAPI spec (if generated) */
    openApiSpec?: object;
    /** Warnings about unsupported or dropped annotations */
    warnings?: string[];
}
/**
 * Export a workflow for deployment.
 *
 * Delegates to the target registry — every target is a plugin discovered
 * from installed marketplace packs. The legacy template system has been
 * replaced by target classes that generate their own handler + config.
 */
export declare function exportWorkflow(options: ExportOptions): Promise<ExportResult>;
/**
 * List installed export targets by querying the registry.
 */
export declare function getSupportedTargets(projectDir?: string): Promise<string[]>;
//# sourceMappingURL=index.d.ts.map