import { Pattern } from '../types';
export interface PaginatedResult<T> {
    items: T[];
    total: number;
    page: number;
    pageSize: number;
    totalPages: number;
}
export interface ObfuscatedProject {
    hash: string;
    patternCount: number;
    lastActive: string;
}
export declare class PatternUtils {
    private indexCache;
    obfuscateProjectName(name: string): string;
    createObfuscatedIndex(projects: {
        name: string;
        patterns: Pattern[];
    }[]): ObfuscatedProject[];
    paginate<T>(items: T[], page: number, pageSize: number): PaginatedResult<T>;
    buildIndex(patterns: Pattern[]): void;
    queryByCategory(category: string): Pattern[];
    queryByConfidence(minConfidence: number): Pattern[];
    getIndexStats(): {
        categories: number;
        totalIndexed: number;
    };
}
//# sourceMappingURL=pattern-utils.d.ts.map