/**
 * Epic File Operations
 *
 * Handles creating, moving, and managing epic markdown files
 * in the PMO folder structure.
 */
import { Epic, EpicStatus } from './types.js';
/**
 * Get the epics directory for a project
 */
export declare function getEpicsDir(pmoPath: string, projectId?: string): string;
/**
 * Get the path to an epic's markdown file
 */
export declare function getEpicFilePath(pmoPath: string, epicId: string, status: EpicStatus, projectId?: string): string;
/**
 * Ensure epic status directories exist
 */
export declare function ensureEpicDirs(pmoPath: string, projectId?: string): void;
/**
 * Ticket info for markdown generation
 */
export interface TicketInfo {
    id: string;
    title: string;
    status?: string;
    priority?: string;
}
/**
 * Generate markdown content for an epic
 */
export declare function generateEpicMarkdown(epic: Epic, tickets?: TicketInfo[]): string;
/**
 * Update the Tickets section of an existing epic markdown file
 * This is a one-way sync: database → markdown
 */
export declare function updateEpicTicketsSection(pmoPath: string, epicId: string, status: EpicStatus, tickets: TicketInfo[], projectId?: string): boolean;
/**
 * Create an epic markdown file
 */
export declare function createEpicFile(pmoPath: string, epic: Epic, projectId?: string): string;
/**
 * Move an epic file to a new status directory
 */
export declare function moveEpicFile(pmoPath: string, epicId: string, fromStatus: EpicStatus, toStatus: EpicStatus, projectId?: string): {
    oldPath: string;
    newPath: string;
} | null;
/**
 * Delete an epic file
 */
export declare function deleteEpicFile(pmoPath: string, epicId: string, status: EpicStatus, projectId?: string): boolean;
/**
 * Get relative path from PMO root for display
 */
export declare function getRelativeEpicPath(pmoPath: string, epicId: string, status: EpicStatus, projectId?: string): string;
