/**
 * GitHub US Auto-Closer — Closes GitHub issues when all ACs are complete
 *
 * For each affected user story, checks if ALL acceptance criteria are
 * marked complete in spec.md. If so, posts a completion comment and
 * closes the associated GitHub issue.
 *
 * @module github-us-auto-closer
 */
export interface AutoCloseOptions {
    owner: string;
    repo: string;
    token?: string;
}
export interface AutoCloseResult {
    closed: Array<{
        usId: string;
        issueNumber: number;
    }>;
    skipped: Array<{
        usId: string;
        reason: string;
    }>;
    errors: Array<{
        usId: string;
        error: string;
    }>;
}
/**
 * Auto-close GitHub issues for user stories with all ACs complete.
 *
 * For each affected US:
 * 1. Parse AC states from spec.md
 * 2. Skip if not all ACs complete
 * 3. Look up GitHub issue link from frontmatter
 * 4. Check if issue already closed (idempotent)
 * 5. Post completion comment
 * 6. Close issue via `gh issue close`
 *
 * Never throws — all errors captured in result.errors.
 */
export declare function autoCloseCompletedUserStories(incrementId: string, affectedUSIds: string[], specPath: string, options: AutoCloseOptions): Promise<AutoCloseResult>;
//# sourceMappingURL=github-us-auto-closer.d.ts.map