export declare class CellStore {
    private basePath;
    constructor(cellDir?: string);
    private ensure;
    private resolve;
    read<T>(filename: string, ...dirs: string[]): T | null;
    readRaw(filename: string): any | null;
    write<T>(filename: string, data: T, ...dirs: string[]): void;
    exists(filename: string, ...dirs: string[]): boolean;
    delete(filename: string, ...dirs: string[]): void;
    list(dir: string): string[];
    get baseDir(): string;
    syncFromPatternStore(store: PatternStoreLike): {
        synced: number;
    };
    migrateFromLegacy(legacyDir: string): {
        migrated: number;
        skipped: number;
    };
}
export interface StyleEntry {
    category: string;
    preference: string;
    confidence: number;
    signals: {
        positive: number;
        negative: number;
    };
    firstSeen: number;
    lastSeen: number;
    language?: string;
}
export interface PatternStoreLike {
    getAllPatterns(): Array<{
        category: string;
        description: string;
        to?: string;
        from?: string;
        confidence?: {
            mean: number;
        };
        signals?: {
            positive: number;
            negative: number;
            total: number;
        };
        lifecycle?: {
            firstSeen: number;
            lastSeen: number;
        };
        meta?: {
            language?: string;
        };
    }>;
}
export interface StyleData {
    version: number;
    updated: number;
    syntax: StyleEntry[];
    naming: {
        style: string;
        confidence: number;
        exceptions: string[];
    }[];
    structure: {
        avgFileSize: number;
        avgFunctionLength: number;
        earlyReturns: number;
        nestingDepth: number;
    };
}
//# sourceMappingURL=cell-store.d.ts.map