8 lines
416 B
TypeScript
8 lines
416 B
TypeScript
import type { Logger } from '../../core/logger/core.js';
|
|
import type { APIRoute } from '../../types/public/common.js';
|
|
import type { APIContext } from '../../types/public/context.js';
|
|
/** Renders an endpoint request to completion, returning the body. */
|
|
export declare function renderEndpoint(mod: {
|
|
[method: string]: APIRoute;
|
|
}, context: APIContext, isPrerendered: boolean, logger: Logger): Promise<Response>;
|