import { Beacon } from "./beacon";
import { Primitive } from "./metadata";
export interface CustomEventBeaconOptions {
    type: string;
    data: {
        sourceUrl: string;
        name: string;
        properties: {
            [key: string]: Primitive;
        };
    };
    identity?: {
        address?: string;
        customerUserId?: string;
    };
}
export declare function createCustomEventsPlugin(beacon: Beacon): {
    track: (name: string, properties?: Record<string, any>, identityProps?: {
        address?: string;
        customerUserId?: string;
    }) => Promise<boolean>;
};
