import type { CIJob, CIJobType, CISeverityThreshold, CIStackContext, CITriggerEvent, CIWorkflow, DriftJobOptions, MobileCiConfig } from '../../types/index.js';
export type { DriftJobOptions };
/** Serialize a CIWorkflow to a YAML string. */
export declare function serializeWorkflow(workflow: CIWorkflow): string;
/**
 * Build a Planu drift detection job for inclusion in a GitHub Actions workflow.
 */
export declare function buildDriftJob(specsDir: string, threshold: CISeverityThreshold, needsJobs: string[]): CIJob;
/**
 * Build a complete CIWorkflow from the stack context and job/trigger options.
 */
export declare function buildWorkflow(ctx: CIStackContext, jobs: CIJobType[], triggers: CITriggerEvent[], workflowName: string, driftOptions?: DriftJobOptions): CIWorkflow;
/**
 * Build a CIWorkflow that contains iOS and/or Android CI/CD jobs.
 * iOS and Android jobs run as parallel workstreams in the same workflow.
 *
 * @param mobileConfigs - One or more mobile platform configs (ios, android, or both)
 * @param triggers - GitHub Actions trigger events
 * @param workflowName - Display name of the workflow
 */
export declare function buildMobileWorkflow(mobileConfigs: MobileCiConfig[], triggers: CITriggerEvent[], workflowName: string): CIWorkflow;
//# sourceMappingURL=yaml-builder.d.ts.map