import { HttpClient } from '@angular/common/http'; import { XHRHTTPService } from './xhrhttp.service'; import * as i0 from "@angular/core"; interface Scripts { name: string; src: string; } export declare class LifeCycleService { private config; private document; private http; private xhrhttpService; scriptStore: Scripts[]; private scripts; constructor(config: any, document: any, http: HttpClient, xhrhttpService: XHRHTTPService); authenticateWithProxy(): void; /** * * @description this utility is required to make calls to the liquid api as XHR expects a response type, this informs the global interceptor as to what to expect */ ngxHttpRequestHeaders(type: 'text' | 'json', updatePageTitle?: boolean): {}; /** * * * @description this utility prevents NgxShopify from throwing a 404 error on this particular request, this is useful for when you're arbitrarily pulling in product data for template purposes * @memberof LifeCycleService */ ngxHttpRequestNoErrorPage(headers: any): any; /** * * * @description returns an unescape html string - if the liquid template contains "| escape", this is required * @memberof LifeCycleService */ unescapeHtml(unsafe: any): any; localstorageClear(): void; load(...scripts: string[]): Promise; loadScript(name: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {}; //# sourceMappingURL=lifecycle.service.d.ts.map