import type * as Babel from '@babel/core'; import type { types as t } from '@babel/core'; type Types = typeof Babel.types; export type PatternPart = { type: 'static'; value: string; } | { type: 'dynamic'; value: t.Expression; }; export interface ParsedSpecifier { dir: string; pattern: PatternPart[]; } export declare function patternParts(types: Types, specifier: t.Node): PatternPart[] | undefined; export declare function parseSpecifier(parts: PatternPart[]): ParsedSpecifier | undefined; export declare function entryKey(entry: string): string; export declare function patternMatcher(pattern: PatternPart[]): (key: string) => boolean; export declare function lookupExpression(types: Types, pattern: PatternPart[]): t.Expression; export declare function relativeSpecifier(path: string): string; export {}; //# sourceMappingURL=import-sync-pattern.d.ts.map