import { H3Event, appendCorsHeaders as _appendCorsHeaders, appendCorsPreflightHeaders as _appendCorsPreflightHeaders, appendHeader as _appendHeader, appendResponseHeader as _appendResponseHeader, appendResponseHeaders as _appendResponseHeaders, assertMethod as _assertMethod, clearResponseHeaders as _clearResponseHeaders, clearSession as _clearSession, defaultContentType as _defaultContentType, deleteCookie as _deleteCookie, fetchWithEvent as _fetchWithEvent, getCookie as _getCookie, getProxyRequestHeaders as _getProxyRequestHeaders, getQuery as _getQuery, getRequestFingerprint as _getRequestFingerprint, getRequestHeader as _getRequestHeader, getRequestHeaders as _getRequestHeaders, getRequestHost as _getRequestHost, getRequestIP as _getRequestIP, getRequestProtocol as _getRequestProtocol, getRequestURL as _getRequestURL, getRequestWebStream as _getRequestWebStream, getResponseHeader as _getResponseHeader, getResponseHeaders as _getResponseHeaders, getResponseStatus as _getResponseStatus, getResponseStatusText as _getResponseStatusText, getRouterParam as _getRouterParam, getRouterParams as _getRouterParams, getSession as _getSession, getValidatedQuery as _getValidatedQuery, getValidatedRouterParams as _getValidatedRouterParams, handleCacheHeaders as _handleCacheHeaders, handleCors as _handleCors, isMethod as _isMethod, isPreflightRequest as _isPreflightRequest, parseCookies as _parseCookies, proxyRequest as _proxyRequest, readBody as _readBody, readFormData as _readFormData, readMultipartFormData as _readMultipartFormData, readRawBody as _readRawBody, readValidatedBody as _readValidatedBody, removeResponseHeader as _removeResponseHeader, sealSession as _sealSession, send as _send, sendError as _sendError, sendNoContent as _sendNoContent, sendProxy as _sendProxy, sendRedirect as _sendRedirect, sendStream as _sendStream, sendWebResponse as _sendWebResponse, setCookie as _setCookie, setHeader as _setHeader, setResponseHeader as _setResponseHeader, setResponseHeaders as _setResponseHeaders, setResponseStatus as _setResponseStatus, unsealSession as _unsealSession, updateSession as _updateSession, useSession as _useSession, writeEarlyHints as _writeEarlyHints, Encoding, HTTPHeaderName, InferEventInput, _RequestMiddleware, _ResponseMiddleware } from 'h3'; export { StartServer } from './StartServer.js'; export { createStartHandler } from './createStartHandler.js'; export { createRequestHandler } from './createRequestHandler.js'; export { defaultStreamHandler } from './defaultStreamHandler.js'; export { defaultRenderHandler } from './defaultRenderHandler.js'; declare function _setContext(event: H3Event, key: string, value: any): void; declare function _getContext(event: H3Event, key: string): any; export declare function defineMiddleware(options: { onRequest?: _RequestMiddleware | Array<_RequestMiddleware>; onBeforeResponse?: _ResponseMiddleware | Array<_ResponseMiddleware>; }): { onRequest?: _RequestMiddleware | Array<_RequestMiddleware>; onBeforeResponse?: _ResponseMiddleware | Array<_ResponseMiddleware>; }; export declare function toWebRequest(event: H3Event): Request | undefined; export { H3Error, H3Event, MIMES, callNodeListener, createApp, createAppEventHandler, createEvent, createRouter, defineEventHandler, defineLazyEventHandler, defineNodeListener, defineNodeMiddleware, defineRequestMiddleware, defineResponseMiddleware, dynamicEventHandler, defineWebSocket, eventHandler, splitCookiesString, fromNodeMiddleware, fromPlainHandler, fromWebHandler, isError, isEventHandler, isWebResponse, lazyEventHandler, promisifyNodeListener, serveStatic, toEventHandler, toNodeListener, toPlainHandler, toWebHandler, isCorsOriginAllowed, isStream, createError, sanitizeStatusCode, sanitizeStatusMessage, useBase, type AddRouteShortcuts, type App, type AppOptions, type AppUse, type CacheConditions, type CreateRouterOptions, type Duplex, type DynamicEventHandler, type Encoding, type EventHandler, type EventHandlerObject, type EventHandlerRequest, type EventHandlerResponse, type H3CorsOptions, type H3EventContext, type HTTPHeaderName, type HTTPMethod, type InferEventInput, type InputLayer, type InputStack, type Layer, type LazyEventHandler, type Matcher, type MultiPartData, type NodeEventContext, type NodeListener, type NodeMiddleware, type NodePromisifiedHandler, type PlainHandler, type PlainRequest, type PlainResponse, type ProxyOptions, type RequestFingerprintOptions, type RequestHeaders, type RouteNode, type Router, type RouterMethod, type RouterUse, type ServeStaticOptions, type Session, type SessionConfig, type SessionData, type Stack, type StaticAssetMeta, type ValidateFunction, type ValidateResult, type WebEventContext, type WebHandler, type _RequestMiddleware, type _ResponseMiddleware, } from 'h3'; export declare const HTTPEventSymbol: unique symbol; export declare function isEvent(obj: any): obj is H3Event | { [HTTPEventSymbol]: H3Event; }; type Tail = T extends [any, ...infer U] ? U : never; type PrependOverload) => any, TOverload extends (...args: Array) => any> = TOverload & TOriginal; type WrapFunction) => any> = PrependOverload extends [H3Event, ...infer TArgs] ? TArgs : Parameters) => ReturnType>; type WrappedReadRawBody = (...args: Tail>>) => ReturnType>; export declare const readRawBody: PrependOverload; type WrappedReadBody = >(...args: Tail>>) => ReturnType>; export declare const readBody: PrependOverload; type WrappedGetQuery = , undefined>>(...args: Tail>>) => ReturnType>; export declare const getQuery: PrependOverload; export declare const isMethod: WrapFunction; export declare const isPreflightRequest: WrapFunction; type WrappedGetValidatedQuery = >(...args: Tail>>) => ReturnType>; export declare const getValidatedQuery: PrependOverload; export declare const getRouterParams: WrapFunction; export declare const getRouterParam: WrapFunction; type WrappedGetValidatedRouterParams = >(...args: Tail>>) => ReturnType>; export declare const getValidatedRouterParams: PrependOverload; export declare const assertMethod: WrapFunction; export declare const getRequestHeaders: WrapFunction; export declare const getRequestHeader: WrapFunction; export declare const getRequestURL: WrapFunction; export declare const getRequestHost: WrapFunction; export declare const getRequestProtocol: WrapFunction; export declare const getRequestIP: WrapFunction; export declare const send: WrapFunction; export declare const sendNoContent: WrapFunction; export declare const setResponseStatus: WrapFunction; export declare const getResponseStatus: WrapFunction; export declare const getResponseStatusText: WrapFunction; export declare const getResponseHeaders: WrapFunction; export declare const getResponseHeader: WrapFunction; export declare const setResponseHeaders: WrapFunction; type WrappedSetResponseHeader = (...args: Tail>>) => ReturnType>; export declare const setResponseHeader: PrependOverload; export declare const appendResponseHeaders: WrapFunction; type WrappedAppendResponseHeader = (...args: Tail>>) => ReturnType>; export declare const appendResponseHeader: PrependOverload; export declare const defaultContentType: WrapFunction; export declare const sendRedirect: WrapFunction; export declare const sendStream: WrapFunction; export declare const writeEarlyHints: WrapFunction; export declare const sendError: WrapFunction; export declare const sendProxy: WrapFunction; export declare const proxyRequest: WrapFunction; type WrappedFetchWithEvent = any = typeof fetch>(...args: Tail>>) => ReturnType>; export declare const fetchWithEvent: PrependOverload; export declare const getProxyRequestHeaders: WrapFunction; export declare const parseCookies: WrapFunction; export declare const getCookie: WrapFunction; export declare const setCookie: WrapFunction; export declare const deleteCookie: WrapFunction; type SessionDataT = Record; type WrappedUseSession = (...args: Tail>>) => ReturnType>; export declare const useSession: PrependOverload; type WrappedGetSession = (...args: Tail>>) => ReturnType>; export declare const getSession: PrependOverload; type WrappedUpdateSession = (...args: Tail>>) => ReturnType>; export declare const updateSession: PrependOverload; type WrappedSealSession = (...args: Tail>>) => ReturnType>; export declare const sealSession: PrependOverload; export declare const unsealSession: WrapFunction; export declare const clearSession: WrapFunction; export declare const handleCacheHeaders: WrapFunction; export declare const handleCors: WrapFunction; export declare const appendCorsHeaders: WrapFunction; export declare const appendCorsPreflightHeaders: WrapFunction; export declare const sendWebResponse: WrapFunction; type WrappedAppendHeader = (...args: Tail>>) => ReturnType>; export declare const appendHeader: PrependOverload; export declare const appendHeaders: WrapFunction; type WrappedSetHeader = (...args: Tail>>) => ReturnType>; export declare const setHeader: PrependOverload; export declare const setHeaders: WrapFunction; export declare const getHeader: WrapFunction; export declare const getHeaders: WrapFunction; export declare const getRequestFingerprint: WrapFunction; export declare const getRequestWebStream: WrapFunction; export declare const readFormData: WrapFunction; export declare const readMultipartFormData: WrapFunction; type WrappedReadValidatedBody = >(...args: Tail>>) => ReturnType>; export declare const readValidatedBody: PrependOverload; export declare const removeResponseHeader: WrapFunction; export declare const getContext: WrapFunction; export declare const setContext: WrapFunction; export declare const clearResponseHeaders: WrapFunction; export declare const getWebRequest: WrapFunction; export { createApp as createServer } from 'h3'; export declare function getEvent(): H3Event; export declare function handleHTTPEvent(event: H3Event): Promise; export { defineHandlerCallback } from './handlerCallback.js'; export type { HandlerCallback } from './handlerCallback.js';