eslint-plugin-obsidian
Version:
ESLint rules for Obsidian
20 lines • 670 B
TypeScript
import type { TSESTree } from '@typescript-eslint/types';
import { Clazz } from './class';
import { Import } from './import';
import { ClassFile } from './classFile';
import { Variable } from './variable';
export declare class File {
private program;
private path;
constructor(program: TSESTree.Program, path?: string);
requireGraph(name: string): Clazz;
private get classNodes();
private get body();
toClassWithImports(): ClassFile[];
get imports(): Import[];
get graphs(): Clazz[];
findClass(byName: string): ClassFile | undefined;
private get classes();
get variables(): Variable[];
}
//# sourceMappingURL=file.d.ts.map