import { GitError } from '../../git/client.js';
import type { OccEntityErrorCode } from './api-types.js';
export interface MappedEntityGitError {
    code: OccEntityErrorCode;
    message: string;
}
/** Preserve the code→git DAG while letting higher layers classify the concrete error. */
export declare function isGitError(error: unknown): error is GitError;
/** One error taxonomy shared by entity diff, at-ref resolution, and blob lineage. */
export declare function mapEntityGitError(error: unknown): MappedEntityGitError;
