UNPKG

lighthouse

Version:

Automated auditing, performance metrics, and best practices for the web.

39 lines 1.44 kB
declare namespace _default { export { provideThirdPartyWeb }; export { getEntity }; export { getProduct }; export { isThirdParty }; export { isFirstParty }; } export default _default; export type ThirdPartyEntity = import("third-party-web").IEntity; export type ThirdPartyProduct = import("third-party-web").IProduct; /** * For use by DevTools. * * @param {typeof import('third-party-web/nostats-subset.js')} providedThirdPartyWeb */ declare function provideThirdPartyWeb(providedThirdPartyWeb: typeof import("third-party-web/nostats-subset.js")): void; /** @typedef {import("third-party-web").IEntity} ThirdPartyEntity */ /** @typedef {import("third-party-web").IProduct} ThirdPartyProduct */ /** * @param {string} url * @return {ThirdPartyEntity|undefined} */ declare function getEntity(url: string): ThirdPartyEntity | undefined; /** * @param {string} url * @return {ThirdPartyProduct|undefined} */ declare function getProduct(url: string): ThirdPartyProduct | undefined; /** * @param {string} url * @param {ThirdPartyEntity | undefined} mainDocumentEntity */ declare function isThirdParty(url: string, mainDocumentEntity: ThirdPartyEntity | undefined): boolean; /** * @param {string} url * @param {ThirdPartyEntity | undefined} mainDocumentEntity */ declare function isFirstParty(url: string, mainDocumentEntity: ThirdPartyEntity | undefined): boolean; //# sourceMappingURL=third-party-web.d.ts.map