/** * Centralized pack path computation. * * Provides types and a pure function for computing pack directory paths. * Packs are either workspace-authored or Registry-sourced. Acquired packs * retain the exact Registry source name in their canonical path. * * @experimental This API is unstable and may change without notice. */ import type { Handle } from "../extensions/handle.js"; import { type AbsolutePath } from "../utils/path-types.js"; import type { WorkspaceLayout } from "../workspace/layout.js"; /** * Computed path for an installed pack directory. * * `canonicalPath` = `/agent_extensions///packs//` * * No `src/` subdirectory for packs. */ export interface PackDirPath { readonly canonicalPath: AbsolutePath; } export declare const computePackPathsForLayout: (join: (...paths: string[]) => string, layout: WorkspaceLayout, sourceName: "workspace" | string, owner: Handle, name: string) => PackDirPath; //# sourceMappingURL=paths.d.ts.map