/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
import { AuthConfiguration } from './authConfiguration';
import { Response, NextFunction } from 'express';
import { Request } from './request';
/**
 * Builds the JWKS URI for the given token issuer and auth configuration.
 * @param iss The token issuer claim.
 * @param authConfig The authentication configuration for the matched audience.
 * @returns The JWKS URI string.
 */
export declare function buildJwksUri(iss: string, authConfig: AuthConfiguration): string;
/**
 * Middleware to authorize JWT tokens.
 * @param authConfig The authentication configuration.
 * @returns An Express middleware function.
 */
export declare const authorizeJWT: (authConfig: AuthConfiguration) => (req: Request, res: Response, next: NextFunction) => Promise<void>;
