import { Metadata, Primitive } from "./metadata"; import { Sdk } from "./sdk"; export type Beacon = ReturnType; export interface BeaconOptions { type: string; data: { sourceUrl: string; referrer: string; [key: string]: Primitive; }; } export declare function createBeaconPlugin(sdk: Sdk, metadata: Metadata): { sendBeacon: (beacon: T) => Promise; };