@snap/camera-kit
Version:
Camera Kit Web
15 lines • 725 B
TypeScript
import type { LensCore } from "../lens-core-module/lensCore";
import type { RemoteConfiguration } from "./remoteConfiguration";
/**
* Registers an on-demand configuration provider with LensCore.
*
* When LensCore needs a config that was not preloaded, it calls this provider.
* The provider looks up the config by ID from the RemoteConfiguration cache
* (already in JS memory from the COF fetch), so no additional network requests are made.
*/
export declare const registerConfigurationProvider: {
(args_0: LensCore, args_1: RemoteConfiguration): void;
token: "registerConfigurationProvider";
dependencies: readonly ["lensCore", "remoteConfiguration"];
};
//# sourceMappingURL=configurationProvider.d.ts.map