import type { ExportInfo } from '../types/code.types.js';
export type ModuleType = 'file' | 'class' | 'function';
export declare function detectGranularity(source: string, language: string): ModuleType;
export interface ModuleRegistration {
    name: string;
    filePath: string;
    language: string;
    source: string;
    description?: string;
    projectId: number;
}
export interface RegisteredModule {
    name: string;
    moduleType: ModuleType;
    exports: ExportInfo[];
    externalDeps: string[];
    internalDeps: string[];
    isPure: boolean;
    hasTypeAnnotations: boolean;
    linesOfCode: number;
}
export declare function prepareModule(reg: ModuleRegistration): RegisteredModule;
