import { FetchParams, Middleware, RequestContext } from '../lib/runtime.js';
import { ManagementClientOptionsWithClientCredentials, ManagementClientOptionsWithToken } from './management-client-options.js';
export declare class TokenProviderMiddleware implements Middleware {
    private tokenProvider;
    constructor(options: ManagementClientOptionsWithToken | ManagementClientOptionsWithClientCredentials);
    pre?(context: RequestContext): Promise<FetchParams | void>;
}
