import type { DotenvConfigOptions } from 'dotenv'; import type { StaticFilesOptions } from '#koala/Http/Files/index'; import type { HttpMiddleware, HttpRequest, HttpRequestBase } from '#koala/Http/index'; import type { EventSubscriber } from '#koala/Kernel/index'; import type { RouteSource } from '#koala/routing/index'; /** * @deprecated Use function-first routes from `@koala-ts/framework/routing` with `KoalaConfig.routes` instead. */ export type Controller = new (...args: unknown[]) => unknown; export type KoalaDotenvOptions = Pick; export interface KoalaConfig { /** * @deprecated Use `routes` with `Route` from `@koala-ts/framework/routing` instead. */ controllers: Controller[]; environment?: { dotenv?: KoalaDotenvOptions; }; routes?: RouteSource[]; globalMiddleware?: HttpMiddleware[]; staticFiles?: StaticFilesOptions; eventSubscribers?: Record; } //# sourceMappingURL=koala-config.d.ts.map