import "./att-BDPyE-Gs.mjs";
import "./skan-BljOFaeU.mjs";
import { A as LayersRNConfig, j as LayersReactNative, m as EventProperties, s as ConsentState } from "./index-CQN7IdfN.mjs";
import { ReactNode } from "react";
import * as react_jsx_runtime0 from "react/jsx-runtime";
//#region src/react.d.ts
interface LayersRNProviderProps {
config: LayersRNConfig;
children: ReactNode;
}
/**
* Provides a LayersReactNative instance to the React component tree.
* Initializes the client on mount and shuts it down on unmount.
*
* @example
* ```tsx
* import { LayersRNProvider } from '@layers/react-native/react';
*
* function App() {
* return (
*
*
*
* );
* }
* ```
*/
declare function LayersRNProvider({
config,
children
}: LayersRNProviderProps): react_jsx_runtime0.JSX.Element;
/**
* Returns the LayersReactNative instance from the nearest LayersRNProvider.
* Throws if used outside a LayersRNProvider.
*/
declare function useLayers(): LayersReactNative;
/**
* Returns a stable, memoized track function bound to the current LayersReactNative instance.
*
* @example
* ```tsx
* import { useTrack } from '@layers/react-native/react';
*
* function PurchaseButton() {
* const track = useTrack();
* return