import { Context, type RequestScope } from '../context/context';
import type { IncomingMessage } from 'http';
export interface Request extends IncomingMessage {
}
export declare function provideRequest(context: Context<RequestScope>, request: Request): void;
/**
 * Get the request from the context.
 *
 * @deprecated You can now inject the request directly from Context<RequestScope>.
 * This function will be removed in a future version.
 * @param context The context to use for the request.
 * @returns
 */
export declare function useRequest(context: Context<RequestScope>): Request;
/**
 * Get the HTTP method of the request.
 *
 * @deprecated You can now inject the request directly from Context<RequestScope>.
 * This function will be removed in a future version.
 * @param context The context to use for the request.
 * @returns The HTTP method of the request, or undefined if not available.
 */
export declare function useRequestMethod(context: Context<RequestScope>): string | undefined;
//# sourceMappingURL=request.d.ts.map