import { ClientConfig, ClientTimeout, Credentials, CsrfPromise, CsrfToken, FetchRetryOptions, Headers, Host, Mode, Protocol, RequestConfig, ParseMethod } from './types'; export default class SupersetClientClass { credentials: Credentials; csrfToken?: CsrfToken; csrfPromise?: CsrfPromise; fetchRetryOptions?: FetchRetryOptions; baseUrl: string; protocol: Protocol; host: Host; headers: Headers; mode: Mode; timeout: ClientTimeout; constructor({ baseUrl, host, protocol, headers, fetchRetryOptions, mode, timeout, credentials, csrfToken, }?: ClientConfig); init(force?: boolean): CsrfPromise; reAuthenticate(): Promise; isAuthenticated(): boolean; get(requestConfig: RequestConfig & { parseMethod?: T; }): Promise; delete(requestConfig: RequestConfig & { parseMethod?: T; }): Promise; put(requestConfig: RequestConfig & { parseMethod?: T; }): Promise; post(requestConfig: RequestConfig & { parseMethod?: T; }): Promise; request({ credentials, mode, endpoint, host, url, headers, timeout, fetchRetryOptions, ...rest }: RequestConfig & { parseMethod?: T; }): Promise; ensureAuth(): CsrfPromise; getCSRFToken(): Promise; getUrl({ host: inputHost, endpoint, url, }?: { endpoint?: string; host?: Host; url?: string; }): string; } //# sourceMappingURL=SupersetClientClass.d.ts.map