import { BrowserConfig } from '@amplitude/analytics-core'; import { DataExtractor } from './data-extractor'; /** * Remote-config key for the element-selector engine payload. Nested under the * browser SDK autocapture namespace alongside other autocapture toggles * (elementInteractions, frustrationInteractions, etc.). The payload shape is * `ElementSelectorRemoteConfig`. */ export declare const ELEMENT_SELECTOR_REMOTE_CONFIG_KEY = "configs.analyticsSDK.browserSDK.autocapture.elementSelector"; /** * Subscribe a plugin's {@link DataExtractor} to element-selector remote config. * * On each delivery, the resolved config is pushed into the extractor's engine, * which changes what `getElementPath` (and therefore every selector-bearing * autocapture event) emits. When remote config is disabled or unavailable, this * is a no-op and the engine stays on the dormant defaults. * * @returns an unsubscribe function when a subscription was created, otherwise * `undefined`. */ export declare function subscribeToElementSelectorConfig(config: BrowserConfig, dataExtractor: DataExtractor): (() => void) | undefined; //# sourceMappingURL=element-selector-config.d.ts.map