import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
import { LoggerService, RootConfigService, DiscoveryService, DatabaseService, SchedulerService, UrlReaderService, LifecycleService, AuthService, HttpAuthService } from '@backstage/backend-plugin-api';
import express from 'express';

interface RouterOptions {
    logger: LoggerService;
    config: RootConfigService;
    discovery: DiscoveryService;
    database: DatabaseService;
    scheduler: SchedulerService;
    urlReader: UrlReaderService;
    lifecycle: LifecycleService;
    auth: AuthService;
    httpAuth?: HttpAuthService;
}
declare function createRouter(options: RouterOptions): Promise<express.Router>;
declare const timeSaverPlugin: _backstage_backend_plugin_api.BackendFeature;

export { createRouter, timeSaverPlugin as default, timeSaverPlugin };
export type { RouterOptions };
