import { Pattern } from '../../../types';
export interface CommunityPattern {
    pattern: Pattern;
    sourceCount: number;
    isSynthetic: boolean;
}
export declare class CommunityPrior {
    private priorPath;
    private patterns;
    constructor(cellDir: string);
    generateSyntheticSeed(): Pattern[];
    getPatterns(minConfidence?: number): Pattern[];
    getSyntheticPatterns(): Pattern[];
    getLivePatterns(): Pattern[];
    addLivePattern(pattern: Pattern, sourceCount?: number): void;
    replaceSyntheticWithLive(syntheticId: string, livePattern: Pattern): boolean;
    getDisplayLabel(): string;
    getCommunityPattern(id: string): CommunityPattern | undefined;
    getPatternCount(): number;
    save(): void;
    clear(): void;
    private load;
    private makePattern;
    private ensureDirectory;
}
//# sourceMappingURL=community-prior.d.ts.map