import localForage = require('localforage'); import Resources from "./resources"; export default class Store { constructor(); add(resources: Resources, force?: boolean): Promise>; request(url: string, type?: string, withCredentials?: boolean, headers?: object): Promise; getBlob(url: string, mimeType?: string): Promise; getText(url: string): Promise; getBase64(url: string, mimeType?: string): Promise; createUrl(url: string, options: { base64: boolean }): Promise; revokeUrl(url: string): void; destroy(): void; private checkRequirements(): void; private handleResponse(response: any, type?: string): Blob | string | JSON | Document | XMLDocument; }