/** * Spec sources in their fixed order (change: spec-framework-neutrality, design section 2). The * order decides which source is named first and which wins when two claim one file. Only sources * with an adapter are checked, so `lookedFor` never names a source that was not looked for. */ import type { OpenLoreConfig } from '../../types/index.js'; import type { SpecItem, SpecSource, SpecSourceId } from './types.js'; export declare const SPEC_SOURCE_ORDER: readonly SpecSourceId[]; /** The registered adapters, in {@link SPEC_SOURCE_ORDER}. */ export declare const SPEC_SOURCE_ADAPTERS: readonly SpecSource[]; export interface DetectedSpecSources { /** Ids of the sources present, in order. */ found: SpecSourceId[]; /** Ids of the sources checked, in order. */ lookedFor: SpecSourceId[]; } export declare function detectSpecSources(root: string, config: OpenLoreConfig | null, adapters?: readonly SpecSource[]): Promise; /** Every item of every present source, source by source in order. */ export declare function listSpecItems(root: string, config: OpenLoreConfig | null, adapters?: readonly SpecSource[]): Promise; export type { SpecItem, SpecItemKind, SpecSource, SpecSourceId } from './types.js'; //# sourceMappingURL=index.d.ts.map