export declare class Import { /** the path of the file that contains the import declaration. */ private source; /** the relative path to the target file of the import. */ from: string; /** the named exports (`import { named } from "./from"`). */ private named; /** the default exports (`import default from "./from"`). */ private default_; constructor( /** the path of the file that contains the import declaration. */ source: string, /** the relative path to the target file of the import. */ from: string, /** the named exports (`import { named } from "./from"`). */ named: Array, /** the default exports (`import default from "./from"`). */ default_: string | null); resolve(): string; /** * Checks if the {@link Import} contains a specific identifier. * * For example: `import Jon, { Doe } from "./helloworld"` * * Would result in: * * ```ts * containsIdentifier("Jon") // true * containsIdentifier("Doe") // true * containsIdentifier("helloworld") // false * ``` */ containsIdentifier(name: string): boolean; toString(): string; } export declare class UnresolvedImportError extends Error { constructor(imp: Import); private createMessage; }