import type { APIContext, EndpointHandler } from '../../@types/astro'; /** Renders an endpoint request to completion, returning the body. */ export declare function renderEndpoint(mod: EndpointHandler, context: APIContext, ssr: boolean): Promise;