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

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

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