#!/usr/bin/env node
export type IssueLabelInput = {
    readonly name: string;
};
export type IssueInput = {
    readonly number: number;
    readonly title: string;
    readonly url: string;
    readonly labels: readonly IssueLabelInput[];
};
export type ClosingIssueInput = {
    readonly number: number;
    readonly title: string;
    readonly url: string;
};
export type PullRequestInput = {
    readonly number: number;
    readonly title: string;
    readonly url: string;
    readonly isDraft: boolean;
    readonly closingIssuesReferences: readonly ClosingIssueInput[];
};
export type IssueTriageReport = {
    readonly rawOpenIssueCount: number;
    readonly prCoveredOpenIssueCount: number;
    readonly activeOpenIssueCount: number;
    readonly availableOpenIssueCount: number;
    readonly prCoveredIssueNumbers: readonly number[];
    readonly activeIssueNumbers: readonly number[];
    readonly availableIssueNumbers: readonly number[];
    readonly rawLabelCounts: readonly LabelCount[];
    readonly availableLabelCounts: readonly LabelCount[];
    readonly prCoverage: readonly PullRequestCoverage[];
    readonly debtCandidates: readonly IssueSummary[];
};
export type LabelCount = {
    readonly label: string;
    readonly count: number;
};
export type IssueSummary = {
    readonly number: number;
    readonly title: string;
    readonly url: string;
};
export type PullRequestCoverage = {
    readonly number: number;
    readonly title: string;
    readonly url: string;
    readonly isDraft: boolean;
    readonly closes: readonly IssueSummary[];
};
export declare function buildIssueTriageReport(openIssues: readonly IssueInput[], pullRequests: readonly PullRequestInput[]): IssueTriageReport;
export declare function formatIssueTriageReport(report: IssueTriageReport): string;
