import { PluginListenerHandle } from "@capacitor/core";
export interface AppsflyerPlugin {
    echo(options: {
        value: string;
    }): Promise<{
        value: string;
    }>;
    addListener(eventName: 'conversion_callback', listenerFunc: (event: OnConversionDataResult) => void): PluginListenerHandle;
    addListener(eventName: 'oaoa_callback', listenerFunc: (event: OnAppOpenAttribution) => void): PluginListenerHandle;
    addListener(eventName: 'udl_callback', listenerFunc: (event: OnDeepLink) => void): PluginListenerHandle;
    initialize(options: {
        writeKey: string;
        isDebug?: boolean;
        waitForATTUserAuthorization?: number;
        trackLifecycleEvents?: boolean;
    }): Promise<void>;
    identify(options: {
        userId: string;
        traits?: Record<string, unknown>;
    }): Promise<void>;
    track(options: {
        eventName: string;
        properties: Record<string, unknown>;
    }): Promise<void>;
    trackPage(options: {
        eventName: string;
        properties: Record<string, unknown>;
    }): Promise<void>;
}
export interface OnConversionDataResult {
    callbackName: string;
    errorMessage?: string;
    data?: any;
}
export interface OnAppOpenAttribution {
    callbackName: string;
    errorMessage?: string;
    data?: any;
}
export interface OnDeepLink {
    status: string;
    error?: string;
    deepLink?: any;
}
