export interface GitCommitInfo {
    hash: string;
    shortHash: string;
    author: string;
    date: string;
    subject: string;
    body: string;
    files: string[];
    branch: string;
    insertions: number;
    deletions: number;
}
export interface AutomationConfig {
    project: string;
    projectDir: string;
    autoRecordCommits: boolean;
    autoRecordTestRuns: boolean;
    autoRecordErrors: boolean;
    maxCommitsPerSync: number;
    lastSyncHash?: string;
    lastSyncAt?: string;
}
export declare function loadAutomationConfig(projectDir: string): AutomationConfig | null;
export declare function saveAutomationConfig(config: AutomationConfig): void;
export declare function initAutomationConfig(project: string, projectDir: string, overrides?: Partial<AutomationConfig>): AutomationConfig;
export declare function isGitRepo(projectDir: string): boolean;
export declare function getCurrentBranch(projectDir: string): string;
export declare function getLatestCommitHash(projectDir: string): string | null;
export declare function getCommitsSince(projectDir: string, sinceHash: string, limit?: number): GitCommitInfo[];
export declare function getAllCommits(projectDir: string, limit?: number): GitCommitInfo[];
export declare function getTopicFromCommit(commit: GitCommitInfo): string;
export declare function getImportanceForCommit(commit: GitCommitInfo): number;
export declare function syncGitCommitsToMemory(project: string, projectDir: string, options?: {
    sinceHash?: string;
    limit?: number;
}): {
    synced: number;
    latestHash: string | null;
    commits: GitCommitInfo[];
};
export declare function detectFileTopics(files: string[]): string[];
export declare function getAutomationStatus(projectDir: string): {
    isGitRepo: boolean;
    branch: string;
    latestCommit: string | null;
    configExists: boolean;
    lastSync: string | null;
};
//# sourceMappingURL=memory-automation.d.ts.map