import { type WorkflowResourceProvider } from "./extensions/loader.ts";
import type { LoadExtensionsResult } from "./extensions/types.ts";
import type { PathMetadata, ResolvedPaths, ResolvedResource } from "./package-manager.ts";
import type { DefaultResourceLoader } from "./resource-loader-core.ts";
import type { DefaultResourceLoaderInheritanceSnapshot, ResourceLoaderReloadOptions } from "./resource-loader-types.ts";
export declare function emptyResolvedPaths(): ResolvedPaths;
export declare function resolvePackageResourcePaths(loader: DefaultResourceLoader, options?: {
    includeCliProjectLocalResources?: boolean;
    trustedBorrowedProjectLocalSources?: Set<string>;
}): Promise<{
    resolvedPaths: ResolvedPaths;
    cliExtensionPaths: ResolvedPaths;
    builtinPackagePaths: ResolvedPaths;
}>;
export declare function resolveTrustedBorrowedProjectLocalSources(loader: DefaultResourceLoader, resolveBorrowedProjectTrust: NonNullable<ResourceLoaderReloadOptions["resolveBorrowedProjectTrust"]>, preTrustExtensions: LoadExtensionsResult | undefined): Promise<Set<string>>;
export declare function filterBorrowedProjectLocalResources(paths: ResolvedPaths, trustedSources: Set<string>): ResolvedPaths;
export declare function collectWorkflowResources(resolvedPaths: ResolvedPaths, cliExtensionPaths: ResolvedPaths, builtinPackagePaths: ResolvedPaths): ResolvedResource[];
export declare function createWorkflowResourceProvider(loader: DefaultResourceLoader): WorkflowResourceProvider;
export declare function createInheritanceSnapshotProvider(loader: DefaultResourceLoader): () => DefaultResourceLoaderInheritanceSnapshot;
export declare function normalizeExtensionPaths(loader: DefaultResourceLoader, entries: Array<{
    path: string;
    metadata: PathMetadata;
}>): Array<{
    path: string;
    metadata: PathMetadata;
}>;
export declare function recordExtensionSourceInfo(loader: DefaultResourceLoader, paths: Array<{
    path: string;
    metadata: PathMetadata;
}>, kind: "skill" | "prompt" | "theme"): void;
//# sourceMappingURL=resource-loader-package-resources.d.ts.map