import type { HTTPRoute, HandlerRoute } from '../index.ts'; /** * Initializes a `ServiceRoute` and converts it to a `HandlerRoute`. * * If the passed route has an `init` method, it invokes it and sets the * `handler` field on the endpoint with the return value, then deletes the * `init` property, otherwise it returns the endpoint unaltered. */ export declare function initializeRoute(serviceOrHandler: HTTPRoute, components: any): HandlerRoute; //# sourceMappingURL=utils.d.ts.map