import type { AppControllerRoute, AppViewRoute, BullBoardQueues, ControllerHandlerReturnType, IServerAdapter, UIConfig } from '@bull-board/api/typings/app';
import { Elysia } from 'elysia';
export declare class ElysiaAdapter implements IServerAdapter {
    private readonly plugin;
    private readonly basePath;
    private entryRoute;
    private statics;
    private bullBoardQueues;
    private viewPath;
    private uiConfig;
    constructor({ prefix, basePath }?: Partial<{
        prefix: string;
        basePath: string;
    }>);
    setStaticPath(staticsRoute: string, staticsPath: string): ElysiaAdapter;
    setViewsPath(viewPath: string): ElysiaAdapter;
    setErrorHandler(handler: (error: Readonly<Error>) => ControllerHandlerReturnType): this;
    setApiRoutes(routes: AppControllerRoute[]): ElysiaAdapter;
    setEntryRoute(routeDef: AppViewRoute): ElysiaAdapter;
    setQueues(bullBoardQueues: BullBoardQueues): ElysiaAdapter;
    setUIConfig(config?: UIConfig): ElysiaAdapter;
    registerPlugin(): Promise<Elysia<string, {
        decorator: {};
        store: {};
        derive: {};
        resolve: {};
    }, {
        typebox: {};
        error: {};
    }, {
        schema: {};
        standaloneSchema: {};
        macro: {};
        macroFn: {};
        parser: {};
        response: {};
    }, {}, {
        derive: {};
        resolve: {};
        schema: {};
        standaloneSchema: {};
        response: {};
    }, {
        derive: {};
        resolve: {};
        schema: {};
        standaloneSchema: {};
        response: {};
    }>>;
    private registerRoute;
}
