import type { FetchOptions, ResponseContext } from '../types'; import type { EndpointHandlers } from './types'; /** * Creates a basic response context for error cases. */ export declare function createErrorResponse(message: string, status?: number, code?: string, cause?: unknown): ResponseContext; /** * Handles execution of a specific endpoint handler. */ export declare function executeHandler(endpointHandlers: EndpointHandlers, handlerKey: keyof EndpointHandlers, options?: FetchOptions): Promise>;