/**
 * ADO AC Checkbox Sync
 *
 * When ACs are marked complete in spec.md, updates the HTML description
 * of the linked ADO work item using API-based section update (not regex).
 *
 * Uses AdoDescriptionUpdater for clean HTML section manipulation via
 * sentinel comments (<!-- AC_SECTION_START/END -->).
 */
import { AxiosInstance } from 'axios';
import { Logger } from '../../vendor/utils/logger.js';
import type { SpecWeaveConfig } from '../../../../../src/core/config/types.js';
export interface AdoACCheckboxSyncResult {
    success: boolean;
    updated: number;
    issues: number[];
}
export declare class AdoACCheckboxSync {
    private projectRoot;
    private incrementId;
    private logger;
    constructor(options: {
        projectRoot: string;
        incrementId: string;
        logger?: Logger;
    });
    syncACCheckboxesToAdo(config: SpecWeaveConfig): Promise<AdoACCheckboxSyncResult>;
    /**
     * Update a work item's AC section using API-based section manipulation.
     *
     * GET description → formatACCheckboxes → updateAcSection → PATCH with
     * JSON Patch op:"replace". No regex used at any point.
     */
    updateWorkItemACSection(client: AxiosInstance, storyId: number, acStatus: Map<string, boolean>): Promise<number>;
    /**
     * Legacy: Fetch current HTML description, regex-flip checkboxes, PATCH back.
     * Kept for backward compatibility. New code should use updateWorkItemACSection.
     */
    private updateStoryCheckboxes;
    private buildClient;
    private resolveAdoConfig;
    private loadUserStoriesForIncrement;
}
//# sourceMappingURL=ado-ac-checkbox-sync.d.ts.map