import { Context } from '@foal/core';
export declare class RequestValidationError extends Error {
}
export declare function getJwtFromRequest(request: Context['request'], location: 'token-in-header' | 'token-in-cookie', required: boolean): string | undefined;