/**
 * JIRA Epic Sync - Hierarchical synchronization for Epic folder structure
 *
 * Architecture:
 * - Epic (FS-001) → JIRA Epic
 * - Increment (0001-core-framework) → JIRA Story (with Epic Link field)
 *
 * This implements the Universal Hierarchy architecture for JIRA.
 */
import { JiraClient } from '../../../../../src/integrations/jira/jira-client.js';
export declare class JiraEpicSync {
    private client;
    private specsDir;
    private projectKey;
    private domain;
    constructor(client: JiraClient, specsDir: string, projectKey: string, domain?: string);
    /**
     * Sync Epic folder to JIRA (Epic + Stories)
     */
    syncEpicToJira(epicId: string): Promise<{
        epicKey: string;
        epicUrl: string;
        storiesCreated: number;
        storiesUpdated: number;
    }>;
    /**
     * Find Epic folder by ID (FS-001 or just 001)
     */
    private findEpicFolder;
    /**
     * Parse Epic README.md to extract frontmatter
     */
    private parseEpicReadme;
    /**
     * Parse increment file to extract title and overview
     */
    private parseIncrementFile;
    /**
     * Create JIRA Epic
     */
    private createEpic;
    /**
     * Update JIRA Epic
     */
    private updateEpic;
    /**
     * Create JIRA Story for increment
     */
    private createStory;
    /**
     * Update JIRA Story for increment
     */
    private updateStory;
    /**
     * Map SpecWeave priority to JIRA priority
     */
    private mapPriorityToJira;
    /**
     * Update Epic README.md with JIRA Epic key
     */
    private updateEpicReadme;
    /**
     * Update increment external link in both Epic README and increment file
     */
    private updateIncrementExternalLink;
}
//# sourceMappingURL=jira-epic-sync.d.ts.map