import type { API } from '../structures/api'; /** * Middleware function that receives the API context */ export type MiddlewareFunction = (api: API) => void | Promise; /** * Middleware definition structure */ export type MiddlewareDefinition = { fn: MiddlewareFunction; }; //# sourceMappingURL=middleware.d.ts.map