import { OpenAI } from 'openai'; import type { ProductMetadata } from '@/types/scrapperOutput'; export declare const getClient: (config: { apiKey: string; organization?: string; }) => OpenAI; export declare const getCompletion: (prompt: string, client: OpenAI, model?: string) => Promise; export declare const scrapeUsingAI: (client: OpenAI, productUrl: string, htmlContent?: string, userId?: string, metadata?: Record, model?: string, trimToMaxToken?: number, timeoutSeconds?: number) => Promise;