import { PageObjectCtor, UtamBasePageObject } from './utam-page-object'; /** Represents an adapter function that returns an implementation for a interface passed as argument */ type POImplAdapterFn = (Ctor: PageObjectCtor) => Promise>; /** Represents an adapter function that returns the bridgeAppTitle */ type BridgeAppTitleAdapterFn = () => string | undefined; /** * Class that exposes static adapters between the UTAM Loader and the UTAM Core runtime. * This class is responsible for passing data from the loader to the runtime. * The adapter functions are bound to specific loader's APIs in its constructor. */ export declare class UtamPageObjectProvider { private static pageObjectImplAdapter?; private static bridgeAppTitleAdapter?; /** * Return a page object constructor that represents the concrete implementation of the page object interface * passed as an argument. * * @param typeCtor page object that represent an interface * @returns a page object that is the concrete implementation of the given interface */ static getPageObjectImpl(typeCtor: PageObjectCtor): Promise>; /** * Set the function used to find a page object implementation that matches an interface for a given active * profile. This function is bound to the loader function that finds an implementation matching an interface in * the loader constructor. * * @param implAdapter adapter function used to find page object implementations */ static setPageObjectImplAdapter(implAdapter: POImplAdapterFn): void; /** * Set the adapter function for getting the bridgeAppTitle * @param bridgeAppTitleAdapter adapter function used to find the bridgeAppTitle set in the loader config */ static setGetBridgeAppTitleAdapter(bridgeAppTitleAdapter: BridgeAppTitleAdapterFn): void; /** * Return the bridgeAppTitle if an adapter has been set (loader has been instanciated), undefined otherwise */ static getBridgeAppTitle(): string | undefined; } export {}; //# sourceMappingURL=utam-page-object-provider.d.ts.map