import { Command } from '@oclif/core'; import type Database from 'better-sqlite3'; import { type IIndexWriter } from '../db/database.js'; import { type ParsedFile } from '../parser/ast-parser.js'; export interface IndexingResult { definitionCount: number; referenceCount: number; usageCount: number; inheritanceRelationships: { extendsCreated: number; implementsCreated: number; notFound: number; }; } /** * Populates the database with parsed file data. * Extracted for testability - takes pre-parsed files and a database writer. */ export declare function indexParsedFiles(parsedFiles: Map, db: IIndexWriter & { getConnection: () => Database.Database; }, sourceDirectory: string): IndexingResult; export default class Parse extends Command { static description: string; static examples: string[]; static args: { directory: import("@oclif/core/interfaces").Arg>; }; static flags: { output: import("@oclif/core/interfaces").OptionFlag; exclude: import("@oclif/core/interfaces").OptionFlag; }; run(): Promise; } //# sourceMappingURL=parse.d.ts.map