/** * Recipe loader — dynamically imports a recipe .ts file and validates its shape. * * The loaded module must default-export a function (the recipe). It may * optionally export a `meta` object with description and tags. */ import type { RecipeModule } from "./types.ts"; /** * Load a recipe module from a `.ts` file path via dynamic `import()`. * * Validates: * - The module has a default export that is a function. * - If a `meta` export exists, it is an object. * * Returns a `RecipeModule` with the resolved function, optional meta, and path. * Throws `RecipeLoadError` on any failure. */ export declare function loadRecipe(path: string): Promise; //# sourceMappingURL=loader.d.ts.map