import type { WasmFeatures } from "../../platform/platformCapabilities"; export declare function getBuildFlavor({ simd, relaxedSimd }: WasmFeatures, versionNumber: string): "rel-relaxed-simd-neh" | "rel-simd-neh" | "rel-neh"; /** * URLs of the WebAssembly assets required to run the rendering engine: the WebAssembly binary * and its JS glue file. Accepted by the `lensCoreOverrideUrls` configuration option and produced * by {@link createBootstrapURLs}. * * @category Bootstrapping and Configuration */ export interface WasmAssetUrls { js: string; wasm: string; } /** * Builds bootstrap asset URLs for a custom-hosted build of the rendering engine. * * @param endpoint URL of the build root — the directory containing the build-flavor directories. * May be absolute or relative to the current page (e.g. `/assets/builds`). Any query string on the * endpoint is preserved on the returned asset URLs. * @param flavor Optional build flavor to force. When omitted, the optimal flavor for the current * platform is detected — the same selection the SDK performs for its own CDN. Note that forcing a * flavor bypasses capability detection: the caller is responsible for choosing one the current * browser can run. * @returns Asset URLs suitable for passing to the `lensCoreOverrideUrls` configuration option. * * @category Bootstrapping and Configuration */ export declare function createBootstrapURLs(endpoint: string, flavor?: string): Promise; /** * Returns a list of URLs for resources which will be fetched during {@link bootstrapCameraKit}. * * When CameraKit is used on a website, these URLs must be reachable in order for CameraKit to be successfully * bootstrapped. * * @returns An array of asset URLs. * * @category Bootstrapping and Configuration */ export declare function getRequiredBootstrapURLs(): Promise; /** * @param endpointOverride Endpoint override to load the assets from. The assets are expected to live * directly at this endpoint, without build-flavor directories. * * @deprecated Passing `endpointOverride` is deprecated — use {@link createBootstrapURLs} to construct * URLs for a custom endpoint instead. */ export declare function getRequiredBootstrapURLs(endpointOverride: string | undefined): Promise; //# sourceMappingURL=bootstrapURLs.d.ts.map