/**
* Parameters describing a conversion to record.
*/
export type ConversionParams = {
/** The experiment this conversion is attributed to. */
experimentKey: string;
/** The variant the session was assigned. */
variant: string;
/** The goal reached (e.g. `"signup"`, `"cta_click"`). */
goal: string;
/** Optional numeric value (e.g. revenue). */
value?: number;
};
/**
* Returns a `trackConversion` callback for content A/B testing. Safe to call
* from any component: it resolves to a no-op when analytics is disabled or the
* client has not been initialized yet.
*
* @example
* ```svelte
*
*
* ```
*/
export declare const useConversion: () => (params: ConversionParams) => void;