import type { APIGatewayProxyResultV2 } from "aws-lambda";
/**
 * Returns a successful 2xx API Gateway response.
 * @template T - Payload type
 * @param body - The response payload (typed)
 * @param statusCode - HTTP status code (defaults to 200)
 * @returns APIGatewayProxyResultV2 with JSON-encoded payload
 */
export declare const success: <T extends object>(body: T, statusCode?: number) => APIGatewayProxyResultV2;
