import type { AgileProcess, AgileConfig, AgileProcessDetection } from '../types/index.js';
/** Extracts sprint number from a branch name like "sprint-5" or "sprint/2025-01-15" */
export declare function extractSprintNumber(branchName: string): number | undefined;
/** Extracts WIP limit from kanban config file content */
export declare function extractWipLimit(content: string): number | undefined;
/**
 * Detects the agile process from repository signals (files, configs).
 * Returns an AgileProcessDetection with the detected process and config.
 */
export declare function detectAgileProcess(projectPath: string): Promise<AgileProcessDetection>;
/**
 * Builds an AgileConfig with default parameters for the detected process.
 * WIP limit is passed when available from Kanban config files.
 */
export declare function buildAgileConfig(process: AgileProcess, wipLimit?: number): AgileConfig;
/**
 * Estimates story points from devHours using the Fibonacci scale.
 * Maps: 0-4h → 1, 4-8h → 3, 1-2d → 5, 2-4d → 8, 4-8d → 13, 8d+ → 21
 */
export declare function estimateStoryPoints(devHours: number): number;
/**
 * Returns the daily commit count threshold used to detect XP.
 */
export declare function getXpCommitThreshold(): number;
//# sourceMappingURL=agile-config-builder.d.ts.map