import express from 'express';
import Router from 'express-promise-router';
import { Logger } from 'winston';
import { CatalogApi } from '@backstage/catalog-client';
import { PluginDatabaseManager, PluginEndpointDiscovery, UrlReader } from '@backstage/backend-common';
import { Config } from '@backstage/config';
import { AuthService, HttpAuthService } from '@backstage/backend-plugin-api';
/**
 * Options for {@link createRouter}.
 *
 * @public
 */
export interface RouterOptions {
    config: Config;
    discovery: PluginEndpointDiscovery;
    database: PluginDatabaseManager;
    urlReader: UrlReader;
    logger: Logger;
    catalogApi?: CatalogApi;
    auth?: AuthService;
    httpAuth?: HttpAuthService;
}
export interface CodeCoverageApi {
    name: string;
}
export declare const makeRouter: (options: RouterOptions) => Promise<express.Router>;
/**
 * Creates a code-coverage plugin backend router.
 *
 * @public
 */
export declare function createRouter(options: RouterOptions): Promise<express.Router>;
