UNPKG

fhirclient-pkce

Version:

JavaScript client for Fast Healthcare Interoperability Resources

20 lines (19 loc) 659 B
import { fhirclient } from "../types"; import Client from "../Client"; declare const FHIR: { AbortController: { new (): AbortController; prototype: AbortController; }; client: (state: string | fhirclient.ClientState) => Client; oauth2: { settings: fhirclient.BrowserFHIRSettings; ready: { (): Promise<Client>; (onSuccess: (client: Client) => any, onError?: (error: Error) => any): Promise<any>; }; authorize: (options: fhirclient.AuthorizeParams) => Promise<string | void>; init: (options: fhirclient.AuthorizeParams) => Promise<Client>; }; }; export = FHIR;