export type FeatureSource = { kind: "bundled" | "npm"; root: string; packageName?: string; }; export declare function bundledFeatureRoot(featureId: string): string | null; /** Installed plugins under node_modules/@irwin/* with manifest.json. */ export declare function npmFeatureRoots(projectRoot: string): FeatureSource[]; export declare function resolveFeatureSource(featureId: string, projectRoot?: string): FeatureSource; export declare function listAllFeatureIds(projectRoot?: string): string[]; export declare function featureFilesDir(source: FeatureSource, filesFrom?: string): string;