/**
 * Path Resolver
 *
 * Handles path resolution for living docs directory structure.
 *
 * @module importers/item-converter/path-resolver
 * @since v1.0.115
 */
import type { ItemConverterOptions, ExternalItem } from './types.js';
/**
 * Get base directory for specs, handling both 1-level and 2-level structures
 *
 * Structure patterns:
 * - 2-level (JIRA): specs/{projectKey}/{boardName}/ (e.g., AAC/aac/)
 * - 2-level (ADO): specs/{projectName}/{areaPath}/
 * - 1-level (GitHub): specs/{projectId}/
 * - Legacy: specs/ (no projectId)
 *
 * @param options - Item converter options
 * @returns Base directory path
 */
export declare function getBaseDirectory(options: ItemConverterOptions): string;
/**
 * Check if an item should be auto-archived based on creation date
 */
export declare function shouldAutoArchive(createdAt: Date, autoArchiveAfterDays?: number): boolean;
/**
 * Check if ALL items in a group should be archived
 */
export declare function shouldArchiveEntireGroup(items: ExternalItem[], autoArchiveAfterDays?: number): boolean;
/**
 * Clean up empty feature folder after file move
 *
 * Checks if folder is empty (except FEATURE.md) and removes it if orphan folder
 */
export declare function cleanupEmptyFeatureFolder(folderPath: string, featureId: string, logger?: {
    debug: (msg: string) => void;
}): Promise<void>;
//# sourceMappingURL=path-resolver.d.ts.map