import type { QueryOptions } from '../types';
import type { AnalyticsSessionRequest, AnalyticsSessionResponse } from './uiAnalytics.types';
/**
 * Variables:
 * * `onboardingVersion`
 */
export type QueryKeyAnalyticsSession = ['analyticsSession', number | undefined];
export declare const useAnalyticsSession: (sessionData: AnalyticsSessionRequest, onboardingVersion: number | undefined, options?: QueryOptions<AnalyticsSessionResponse>) => import("@tanstack/preact-query").UseQueryResult<{
    id: string;
}, Error>;
