/** * init command - Initialize AiDex for a project */ /** * Compute a short (16-char) SHA256 hash of content. * Used consistently across init, update, and session for file/line hashing. */ export declare function shortHash(content: Buffer | string): string; export interface InitParams { path: string; name?: string; languages?: string[]; exclude?: string[]; fresh?: boolean; store_bodies?: boolean; embeddings?: boolean; llm_endpoint?: string; llm_model?: string; llm_send_code?: boolean; } export interface InitResult { success: boolean; indexPath: string; filesIndexed: number; filesSkipped: number; filesRemoved: number; itemsFound: number; methodsFound: number; typesFound: number; durationMs: number; errors: string[]; embeddings?: { embedded: number; skipped: number; removed: number; durationMs: number; }; } export declare const DEFAULT_EXCLUDE: string[]; export declare function readGitignore(projectPath: string): string[]; /** * Returns embed-exclude patterns for a project. * Falls back to .aidexignore patterns if no .aidexembedignore exists. * Always adds binary/asset exclusions on top. */ export declare function readAidexEmbedIgnore(projectPath: string): string[]; export declare function init(params: InitParams): Promise; //# sourceMappingURL=init.d.ts.map