import { Sessions, VorionServerParams, WaitingQueue } from "./types"; import { Elysia } from "elysia"; import { AuthenticationError, AuthorizationError, InternalServerError, InvariantError, NotFoundError } from "./exceptions"; export declare const createVorionServer: ({ port, listenCallback, wsServerResponses, }: VorionServerParams) => { start: () => void; app: Elysia<"", false, { decorator: {}; store: { chatSessions: Sessions; waitingQueue: WaitingQueue; }; derive: {}; resolve: {}; }, { type: {}; error: { AUTHENTICATION_ERROR: AuthenticationError; AUTHORIZATION_ERROR: AuthorizationError; INVARIANT_ERROR: InvariantError; INTERNAL_SERVER_ERROR: InternalServerError; NOT_FOUND: NotFoundError; }; }, { schema: {}; macro: {}; macroFn: {}; }, { ws: { subscribe: { body: unknown; params: {}; query: unknown; headers: unknown; response: unknown; }; }; }, { derive: {}; resolve: {}; schema: {}; }, { derive: {}; resolve: {}; schema: {}; }>; appSettings: Elysia<"", false, { decorator: {}; store: { chatSessions: Sessions; waitingQueue: WaitingQueue; }; derive: {}; resolve: {}; }, { type: {}; error: { AUTHENTICATION_ERROR: AuthenticationError; AUTHORIZATION_ERROR: AuthorizationError; INVARIANT_ERROR: InvariantError; INTERNAL_SERVER_ERROR: InternalServerError; NOT_FOUND: NotFoundError; }; }, { schema: {}; macro: {}; macroFn: {}; }, {}, { derive: {}; resolve: {}; schema: {}; }, { derive: {}; resolve: {}; schema: {}; }>; }; //# sourceMappingURL=index.d.ts.map