import type { VextResponseKind } from "../types/hooks.js"; import type { VextResponse } from "../types/response.js"; export interface ResponseSendState { kind: VextResponseKind; data?: unknown; status: number; headers: Record; requestId: string; startedAt: number; } export declare function beginResponseSend(res: VextResponse, payload: { kind: VextResponseKind; data?: unknown; status: number; headers: Record; wrapped: boolean; requestId: string; }): ResponseSendState; export declare function finishResponseSend(res: VextResponse, state: ResponseSendState): void;