donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
14 lines • 711 B
TypeScript
import type { TargetRuntime } from './TargetRuntime';
import type { TargetRuntimeParams, TargetRuntimePluginRegistry } from './TargetRuntimePlugin';
/**
* Resolve a {@link TargetRuntime} for the given flow parameters.
*
* Looks up the {@link TargetRuntimePlugin} in the provided registry for the
* flow's target type, validates the target-specific parameters, and creates
* a live runtime.
*
* @throws {@link InvalidParamValueException} if no plugin is registered for
* the requested target type.
*/
export declare function resolveTargetRuntime(params: TargetRuntimeParams, targetRuntimePlugins: TargetRuntimePluginRegistry): Promise<TargetRuntime>;
//# sourceMappingURL=resolveTargetRuntime.d.ts.map