// AUTO GENERATED BASED ON Kong 3.8.x, DO NOT EDIT // Original source path: kong/pdk/router.lua export default interface router { /** * local route = kong.router.get_route() * local protocols = route.protocols * @returns The `route` entity. */ getRoute(): Promise | object>; /** * if kong.router.get_service() then * -- routed by route & service entities * else * -- routed by a route without a service * end * @returns The `service` entity. */ getService(): Promise | object>; }