import { PrimariaBroker } from '../broker/primaria-broker';
export interface TokenManager {
    setInitialTokens: (access_token: string, refresh_token: string) => void;
    getToken: () => string;
    refreshToken: () => Promise<string>;
}
export declare class TokenManagerImpl implements TokenManager {
    private readonly broker;
    constructor(broker: PrimariaBroker);
    getUrlParams: () => URLSearchParams;
    private initToken;
    setInitialTokens: (access_token: string, refresh_token: string) => void;
    getToken: () => string;
    refreshToken: () => Promise<string>;
}
export declare const createTokenManager: (broker: PrimariaBroker) => TokenManagerImpl;
