import type { SdkPluginConfig } from './types/sdk-types.js'; import type { SourceEnabledMap } from '../config/import-sources.js'; export declare function _registerScanCacheResetHook(hook: () => void): void; export declare function _resetPluginScanCache(): void; export declare function scanLocalPlugins(dir?: string, opts?: { trustAll?: boolean; sourceEnabled?: SourceEnabledMap; }): SdkPluginConfig[]; export declare function indexKeyForPath(root: string, leaf: string): { layout: 'flat' | 'cache'; key: string; } | null;