/**
 * GitHub Conflict Resolver
 *
 * Field-level conflict detection and resolution between spec state
 * and GitHub issue state. Supports title, status, and AC fields.
 *
 * @module github-conflict-resolver
 */
export type ConflictResolution = 'github-wins' | 'spec-wins' | 'prompt';
export interface ConflictField {
    field: string;
    specValue: string;
    githubValue: string;
    defaultResolution: ConflictResolution;
}
export interface ResolvedConflict {
    field: string;
    specValue: string;
    githubValue: string;
    resolution: ConflictResolution;
    resolvedValue: string;
    resolvedAt: string;
}
export interface ConflictResolverConfig {
    defaultStatusResolution?: ConflictResolution;
    defaultContentResolution?: ConflictResolution;
    defaultACResolution?: ConflictResolution;
}
interface SpecState {
    title: string;
    status: string;
    acceptanceCriteria: Array<{
        id: string;
        completed: boolean;
    }>;
}
interface GitHubState {
    title: string;
    state: 'open' | 'closed';
    acceptanceCriteria: Array<{
        id: string;
        completed: boolean;
    }>;
}
export declare class GitHubConflictResolver {
    private statusResolution;
    private contentResolution;
    private acResolution;
    constructor(config?: ConflictResolverConfig);
    /**
     * Detect conflicts between spec and GitHub states.
     */
    detectConflicts(specState: SpecState, githubState: GitHubState): ConflictField[];
    /**
     * Resolve all conflicts using their default resolution strategy.
     */
    resolveConflicts(conflicts: ConflictField[]): ResolvedConflict[];
    /**
     * Resolve a single conflict with optional override.
     */
    resolveConflict(conflict: ConflictField, resolution?: ConflictResolution): ResolvedConflict;
    /**
     * Check if spec status and GitHub state represent a conflict.
     */
    private isStatusConflict;
}
export {};
//# sourceMappingURL=github-conflict-resolver.d.ts.map