UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

16 lines (15 loc) 654 B
import type { AppManifest, AppUCsLoaderOutput } from '../../app/index.js'; import type { Logger, Worker } from '../../std/index.js'; import { UCBuilder, type UCDef } from '../../uc/index.js'; import type { ProductManifest } from '../manifest.js'; export interface Input { defs: Map<AppManifest, UCDef<any, any, any>[]>; } export type Output = AppUCsLoaderOutput; export declare class SyncProductUCsLoader implements Worker<Input, Output> { private logger; private productManifest; private ucBuilder; constructor(logger: Logger, productManifest: ProductManifest, ucBuilder: UCBuilder); exec({ defs }: Input): AppUCsLoaderOutput; }