export interface ApplyOatCoreResult {
    action: 'created' | 'updated' | 'no-change';
    entries: string[];
    stateDashboardIndexAction: 'untracked' | 'not-tracked' | 'not-git-repo';
}
export declare function applyOatCoreGitignore(repoRoot: string): Promise<ApplyOatCoreResult>;
/**
 * Removes the generated repo dashboard from the git index once the OAT core
 * ignore rule is present, while leaving the working-tree file intact.
 *
 * @param repoRoot Repository root where the OAT core gitignore section applies.
 * @returns The index migration outcome for `.oat/state.md`.
 */
export declare function untrackOatStateDashboard(repoRoot: string): Promise<ApplyOatCoreResult['stateDashboardIndexAction']>;
//# sourceMappingURL=gitignore.d.ts.map