import type { StepInstruction, WorkflowStepRef } from "../types/workflow.js"; /** Register a shared step template */ export declare function registerTemplate(template: StepInstruction): void; /** Batch register multiple templates */ export declare function registerTemplates(templates: StepInstruction[]): void; /** Get a registered template by name. Throws if not found. */ export declare function getTemplate(name: string): StepInstruction; /** Resolve a WorkflowStepRef into a full StepInstruction by merging template + overrides */ export declare function resolveStepRef(ref: WorkflowStepRef): StepInstruction; /** Override fields of an existing registered template (e.g., plugin domain override) */ export declare function overrideTemplate(baseName: string, override: Partial>): void; /** List all registered template names */ export declare function listTemplates(): string[]; /** Check if a template is registered */ export declare function hasTemplate(name: string): boolean; /** Clear all registered templates (for testing) */ export declare function clearTemplates(): void; //# sourceMappingURL=index.d.ts.map