interface ResolveOptionalModuleOptions { accessor?: (module: any) => T | null | undefined; devWarning?: string; loader?: () => any; } /** * Attempts to synchronously resolve an optional dependency while caching the result. * Returns `null` when the module cannot be loaded. An optional accessor can pull * a specific export off the module evaluation. */ export declare function resolveOptionalModule(moduleId: string, options?: ResolveOptionalModuleOptions): T | null; /** * Clears the cached optional module entries. Useful for tests to re-attempt loads. */ export declare function resetOptionalModuleCache(): void; export {};