import type { CategoryRule } from '../types';
/**
 * 文件分类器
 */
export declare class Categorizer {
    private rules;
    constructor(customRules?: CategoryRule[]);
    /**
     * 获取文件分类
     */
    categorize(filePath: string): {
        category: string;
        icon: string;
    };
    /**
     * 获取默认分类
     */
    private getDefaultCategory;
    /**
     * 添加自定义规则
     */
    addRule(rule: CategoryRule): void;
}
