import { ExpressCustomizer } from "@atomist/automation-client/lib/configuration";
import { ProjectAnalysisResultStore } from "../analysis/offline/persist/ProjectAnalysisResultStore";
import { AspectRegistry } from "../aspect/AspectRegistry";
import { AspectReportDetailsRegistry } from "../aspect/AspectReportDetailsRegistry";
import { PlantedTree, TagUsage } from "../tree/sunburst";
import { Omit } from "../util/omit";
/**
 * Expose the public API routes, returning JSON.
 * Also expose Swagger API documentation.
 */
export declare function api(projectAnalysisResultStore: ProjectAnalysisResultStore, aspectRegistry: AspectRegistry & AspectReportDetailsRegistry, secure: boolean): {
    customizer: ExpressCustomizer;
    routesToSuggestOnStartup: Array<{
        title: string;
        route: string;
    }>;
};
export interface TagContext {
    /**
     * All repos available
     */
    repoCount: number;
    /**
     * Average number of distinct fingerprint types in the workspace
     */
    averageFingerprintCount: number;
    workspaceId: string;
    aspectRegistry: AspectRegistry;
}
export interface TagTree extends Omit<TagContext, "aspectRegistry">, PlantedTree {
    matchingRepoCount: number;
    tags: TagUsage[];
    selectedTags: string[];
}
export declare function describeSelectedTagsToAnimals(selectedTags: string[]): string;
//# sourceMappingURL=api.d.ts.map