/**
 * Dead Code Detector Tool
 *
 * Analyzes TypeScript/JavaScript codebase to find:
 * - Unused exports
 * - Unused functions
 * - Unused variables
 * - Unused imports
 * - Unreachable code
 */
export interface DeadCodeResult {
    file: string;
    line: number;
    type: 'unused-export' | 'unused-function' | 'unused-variable' | 'unused-import' | 'unreachable';
    name: string;
    message: string;
    confidence: 'high' | 'medium' | 'low';
}
export interface DeadCodeReport {
    scannedFiles: number;
    totalIssues: number;
    byType: Record<string, number>;
    byConfidence: Record<string, number>;
    issues: DeadCodeResult[];
    scanTime: number;
}
export interface DeadCodeOptions {
    /** Root directory to scan */
    rootDir: string;
    /** File patterns to include (glob) */
    include?: string[];
    /** File patterns to exclude (glob) */
    exclude?: string[];
    /** Minimum confidence level to report */
    minConfidence?: 'high' | 'medium' | 'low';
    /** Check for unused exports */
    checkExports?: boolean;
    /** Check for unused functions */
    checkFunctions?: boolean;
    /** Check for unused variables */
    checkVariables?: boolean;
    /** Check for unused imports */
    checkImports?: boolean;
}
/**
 * Detect dead code in a codebase
 */
export declare function detectDeadCode(options?: Partial<DeadCodeOptions>): Promise<DeadCodeReport>;
/**
 * Format dead code report for display
 */
export declare function formatDeadCodeReport(report: DeadCodeReport): string;
export default detectDeadCode;
