/**
 * JIRA AC Checkbox Sync
 *
 * Mirrors github-ac-checkbox-sync.ts — updates native JIRA taskItem checkbox
 * states when ACs are marked complete in spec.md.
 *
 * Strategy: fetch current ADF description from JIRA → walk taskItem nodes →
 * update state (TODO/DONE) based on current spec.md AC status → PUT back.
 * This preserves any manual edits made directly in JIRA.
 *
 * No comments are posted — only the description checkboxes are updated.
 */
import { Logger } from '../../vendor/utils/logger.js';
import type { SpecWeaveConfig } from '../../../../../src/core/config/types.js';
export interface JiraACCheckboxSyncResult {
    success: boolean;
    updated: number;
    issues: string[];
}
export declare class JiraACCheckboxSync {
    private projectRoot;
    private incrementId;
    private logger;
    constructor(options: {
        projectRoot: string;
        incrementId: string;
        logger?: Logger;
    });
    syncACCheckboxesToJira(config: SpecWeaveConfig): Promise<JiraACCheckboxSyncResult>;
    /**
     * Fetch the current ADF description from JIRA, walk taskItem nodes,
     * update state based on acStatus map, then PUT back.
     */
    private updateStoryCheckboxes;
    /** Recursively walk ADF nodes calling visitor for each */
    private walkAdf;
    /** Extract plain text from an ADF node (concat all text leaves) */
    private extractText;
    private buildClient;
    private resolveJiraConfig;
    /**
     * Load user stories from living docs for the increment.
     * Reuses the same logic as GitHubACCheckboxSync.
     */
    private loadUserStoriesForIncrement;
}
//# sourceMappingURL=jira-ac-checkbox-sync.d.ts.map