import type { ProvisionOptions, StepResult, TemplateConfig, TemplateStep } from '../utils/types.js'; /** * Load and validate a template from a YAML file. */ export declare function loadTemplate(templatePath: string): Promise; /** * List all available templates from ~/.syncpoint/templates/. */ export declare function listTemplates(): Promise>; /** * Evaluate a skip_if condition. * Returns true if the command exits with code 0 (meaning: skip this step). */ export declare function evaluateSkipIf(command: string, stepName: string): Promise; /** * Execute a single provisioning step. */ export declare function executeStep(step: TemplateStep): Promise; /** * Run a provisioning template, yielding step results for real-time UI. * * Stops on failure unless the step has continue_on_error: true. */ export declare function runProvision(templatePath: string, options?: ProvisionOptions): AsyncGenerator;