/**
 * Validation Helper
 * Utilities for working with validated request data
 */
import type { IRequest } from './Request';
/**
 * Extract validated body from request
 * Returns the validated body if present, undefined otherwise
 *
 * @example
 * ```typescript
 * const body = getValidatedBody(req);
 * if (!body) {
 *   Logger.error('Validation middleware not configured');
 *   return res.setStatus(500).json({ error: 'Internal server error' });
 * }
 * const email = getString(body['email']);
 * ```
 */
export declare function getValidatedBody<T = Record<string, unknown>>(req: IRequest): T | undefined;
/**
 * Check if request has a validated body
 * Type guard for validated body existence
 *
 * @example
 * ```typescript
 * if (!hasValidatedBody(req)) {
 *   Logger.error('Validation middleware not configured');
 *   return res.setStatus(500).json({ error: 'Internal server error' });
 * }
 * const body = getValidatedBody(req)!; // Safe to use non-null assertion
 * ```
 */
export declare function hasValidatedBody(req: IRequest): boolean;
/**
 * Extract validated body or throw error
 * Throws if validation middleware is not properly configured
 *
 * @example
 * ```typescript
 * try {
 *   const body = requireValidatedBody(req);
 *   const email = getString(body['email']);
 * } catch (error) {
 *   Logger.error('Validation middleware error', error);
 *   return res.setStatus(500).json({ error: 'Internal server error' });
 * }
 * ```
 */
export declare function requireValidatedBody<T = Record<string, unknown>>(req: IRequest): T;
/**
 * Extract validated query parameters from request
 * Returns the validated query if present, undefined otherwise
 */
export declare function getValidatedQuery<T = Record<string, unknown>>(req: IRequest): T | undefined;
/**
 * Extract validated route parameters from request
 * Returns the validated params if present, undefined otherwise
 */
export declare function getValidatedParams<T = Record<string, unknown>>(req: IRequest): T | undefined;
/**
 * Extract validated headers from request
 * Returns the validated headers if present, undefined otherwise
 */
export declare function getValidatedHeaders<T = Record<string, unknown>>(req: IRequest): T | undefined;
/**
 * Validation Helper - Sealed namespace
 */
export declare const ValidationHelper: Readonly<{
    getValidatedBody: typeof getValidatedBody;
    hasValidatedBody: typeof hasValidatedBody;
    requireValidatedBody: typeof requireValidatedBody;
    getValidatedQuery: typeof getValidatedQuery;
    getValidatedParams: typeof getValidatedParams;
    getValidatedHeaders: typeof getValidatedHeaders;
}>;
export default ValidationHelper;
//# sourceMappingURL=ValidationHelper.d.ts.map