import { SecureTokenServiceApi } from '../../publish/sts/apis/secure-token-service-api';
export declare class StsService extends SecureTokenServiceApi {
    #private;
    protected basePath: string;
    private longtermToken;
    private authorizationStoragePath?;
    constructor(basePath: string, longtermToken: string, authorizationStoragePath?: string);
    /**
     * get the access token. If token is expired a new token will be fetched
     * and stored.
     */
    getToken: (force?: boolean) => Promise<string>;
}
