import type { CompactFeature, CompactIndex, Domain } from './types'; /** * Register how the default index is produced. Called for its side effect by the * environment-specific entry (`./store-node` reads it from disk); browser * consumers can leave the empty default and call {@link setIndex} instead. */ export declare function setDefaultLoader(loader: () => CompactIndex): void; export declare function getIndex(): CompactIndex; /** Replace the active index (used by tests and consumers with custom data). */ export declare function setIndex(index: CompactIndex): void; /** Restore the index to the registered default. */ export declare function resetIndex(): void; /** Look up a single flattened feature by domain and dotted key. */ export declare function getFeature(domain: Domain, key: string): CompactFeature | null; /** All keys indexed for a domain. */ export declare function listKeys(domain: Domain): string[]; /** Top-level API namespaces present in the index (e.g. `runtime`, `tabs`). */ export declare function apiNamespaces(): Set;