import { type WebheadRequestOptions } from 'webhead'; import Config from '../functions/config'; declare class FusionAuth { private configFile; private config; loginId?: string; password?: string; private relogin; private webhead; constructor(config: Config, relogin: () => Promise); ensureLogin(): Promise; login(): Promise; complete2FA(twoFactorId: string): Promise; upload(config: Config, zipFile: string, functionsJson: string): Promise; get(urlPath: string, options: WebheadRequestOptions): Promise; post(urlPath: string, options: WebheadRequestOptions): Promise; private request; private storeTokens; private jwt; } export default FusionAuth;