import { TSESLint, TSESTree } from "@typescript-eslint/utils"; export type DefLocation = { path: string; localName?: string | undefined; exportNames: string[]; }; export declare function serializedLocations(loc: DefLocation): string[]; export declare function resolveAsLocation(scopeManager: TSESLint.Scope.ScopeManager, path: string, expr: TSESTree.Expression): DefLocation | undefined; export type DefReference = { base: string; path: string; exportName: string; } | { base: string; path?: undefined; localName: string; }; export declare function serializeReference(ref: DefReference): string; export declare function lookupDefinitionSource(scopeManager: TSESLint.Scope.ScopeManager, base: string, ident: TSESTree.Identifier): DefReference | undefined; //# sourceMappingURL=def-location.d.ts.map