import type { ModuleGraph } from '../types/module-graph.js'; import type { UsageResult } from './operations/get-usage.js'; import type { DefinitionResult } from './operations/resolve-definition.js'; export declare const invalidateCache: (graph: ModuleGraph) => void; export declare const getCachedDefinition: (graph: ModuleGraph, filePath: string, identifier: string) => DefinitionResult | null | undefined; export declare const setCachedDefinition: (graph: ModuleGraph, filePath: string, identifier: string, result: DefinitionResult | null) => void; export declare const getCachedUsage: (graph: ModuleGraph, filePath: string, identifier: string) => UsageResult | undefined; export declare const setCachedUsage: (graph: ModuleGraph, filePath: string, identifier: string, result: UsageResult) => void; export declare const getCachedExportedIdentifiers: (graph: ModuleGraph, filePath: string) => Map | undefined; export declare const setCachedExportedIdentifiers: (graph: ModuleGraph, filePath: string, result: Map) => void;