import * as Effect from "effect/Effect"; import * as FileSystem from "effect/FileSystem"; import * as Path from "effect/Path"; import type * as Scope from "effect/Scope"; import { type AppError } from "../app-error/index.js"; import type { Source } from "../sources/index.js"; import { SourceHostProviders } from "./service.js"; import { type DiscoveredExtensionPackage, type ExtensionPackageFilter } from "./package-discovery.js"; export interface ResolvedExtensionPackage extends DiscoveredExtensionPackage { readonly origin: string; } export interface AcquiredExternalSource { readonly directory: string; readonly origin: string; } /** Acquire a stable local view of a local or Git source for the current scope. */ export declare const acquireExternalSource: (source: Source) => Effect.Effect; /** * Discover only manifest-backed AXM packages from a resolved source. * * Native convention discovery intentionally remains separate so callers can * never mistake unmanaged content for a forkable AXM package. */ export declare const findExtensionPackagesFromSource: (source: Source, filter: ExtensionPackageFilter) => Effect.Effect, AppError, FileSystem.FileSystem | Path.Path | SourceHostProviders | Scope.Scope>; //# sourceMappingURL=package-sources.d.ts.map