import type { Hono } from 'hono';
import type { ReadStream } from 'fs';
import type { Store } from '../../store';
import type { PageStaticData } from '@redocly/config';
import type { RouteDetails } from '../../types';
export type RouteDataResolver = (route: RouteDetails) => Promise<PageStaticData>;
export type StaticAssetReader = (assetPath: string) => Promise<ReadableStream | ReadStream>;
export type RouteProviders = {
    resolveRouteData: RouteDataResolver;
    readStaticAsset: StaticAssetReader;
};
export declare function installProdRoutes(router: Hono, store: Store, providers: RouteProviders): void;
export declare function waitForPluginsLifecycle(store: Store): (_: any, next: any) => Promise<void>;
export declare function installDevRoutes(router: Hono, store: Store): void;
//# sourceMappingURL=index.d.ts.map