import type { Authentication } from './Authentication'; export interface TokenProviderOptions { initialToken?: string | null; } export declare class TokenProvider implements Authentication { private readonly callback; private readonly options; private tokenPromise; constructor(callback: () => Promise, options?: TokenProviderOptions); token(): Promise; refreshToken(): Promise; isPublic(): boolean; }