import { SupabaseClient } from '@supabase/supabase-js';
import { DoshaSubmissionPayload, DoshaCalculationResponse } from '../types/dosha-api';
export interface SubmitDoshaOptions {
    visitorId?: string;
    sessionId?: string;
    /** If true, insert into session_problem_statements (default true) */
    trackProblemStatements?: boolean;
    /** Problem statements and language for session_problem_statements */
    problemStatements?: string[];
    language?: string;
}
/**
 * Insert session problem statements (fire-and-forget).
 */
export declare function insertSessionProblemStatements(supabase: SupabaseClient, options: {
    visitorId: string;
    sessionId: string;
    problemStatements: string[];
    language?: string;
}): Promise<void>;
/**
 * Invoke the calculate-dosha Edge Function and return the parsed response.
 */
export declare function invokeCalculateDosha(supabase: SupabaseClient, payload: DoshaSubmissionPayload, headers?: {
    'x-visitor-id'?: string;
    'x-session-id'?: string;
}): Promise<DoshaCalculationResponse>;
/**
 * Full submit: optionally insert session_problem_statements, then invoke calculate-dosha.
 */
export declare function submitDoshaCalculation(supabase: SupabaseClient, payload: DoshaSubmissionPayload, options?: SubmitDoshaOptions): Promise<DoshaCalculationResponse>;
