import { type EventBus } from "../event-bus.js"; import { type ResourceLoaderInheritanceSnapshotProvider, type WorkflowResourceProviderInput } from "./loader-resources.ts"; import type { Extension, ExtensionFactory, ExtensionRuntime, LoadExtensionsResult } from "./types.ts"; export declare function instantiateExtensions(target: LoadExtensionsResult, cwd: string): Promise; export declare function getExtensionRuntimeEventBus(runtime: ExtensionRuntime): EventBus; /** * Create an Extension from an inline factory function. */ export declare function loadExtensionFromFactory(factory: ExtensionFactory, cwd: string, eventBus: EventBus, runtime: ExtensionRuntime, extensionPath?: string, workflowResourceProvider?: WorkflowResourceProviderInput, resourceLoaderInheritanceSnapshotProvider?: ResourceLoaderInheritanceSnapshotProvider, source?: Pick): Promise; export declare function loadExtensions(paths: string[], cwd: string, eventBus?: EventBus, workflowResourceProvider?: WorkflowResourceProviderInput, runtime?: ExtensionRuntime, resourceLoaderInheritanceSnapshotProvider?: ResourceLoaderInheritanceSnapshotProvider): Promise; export declare function loadExtensionsCached(paths: string[], cwd: string, eventBus?: EventBus, workflowResourceProvider?: WorkflowResourceProviderInput, runtime?: ExtensionRuntime, resourceLoaderInheritanceSnapshotProvider?: ResourceLoaderInheritanceSnapshotProvider): Promise; //# sourceMappingURL=loader-core.d.ts.map