/** * LinkedIn Profile Service * Handles storing and managing LinkedIn profile data extracted from DOM * Similar to chatGPTConversationService pattern */ /** * LinkedIn Profile Data Types */ export interface LinkedInExperience { title?: string; company?: string; duration?: string; description?: string; location?: string; startDate?: string; endDate?: string; } export interface LinkedInEducation { school?: string; degree?: string; fieldOfStudy?: string; years?: string; startDate?: string; endDate?: string; } export interface LinkedInProfileData { fullName: string; headline?: string; location?: string; about?: string; profileUrl?: string; firstName?: string; lastName?: string; profilePicture?: string; backgroundImage?: string; experience?: LinkedInExperience[]; education?: LinkedInEducation[]; skills?: string[]; languages?: string[]; certifications?: Array<{ name: string; authority?: string; date?: string; }>; connections?: number; followers?: number; scrapedAt?: string; extractionMethod?: string; } export interface StoreProfileResult { success: boolean; message?: string; error?: string; } /** * Store LinkedIn profile data locally */ export declare const storeLinkedInProfileLocally: (profileData: LinkedInProfileData) => Promise; /** * Get locally stored LinkedIn profile data */ export declare const getLinkedInProfileLocally: () => Promise; /** * Clear locally stored LinkedIn profile data */ export declare const clearLinkedInProfileLocally: () => Promise; /** * Store LinkedIn profile data to backend * This sends the extracted profile data to the Onairos backend for processing */ export declare const storeLinkedInProfileToBackend: (userId: string, profileData: LinkedInProfileData) => Promise; /** * Combined function to store profile both locally and to backend */ export declare const storeLinkedInProfile: (userId: string, profileData: LinkedInProfileData) => Promise; /** * Hook for LinkedIn profile extraction * Returns functions to handle profile extraction workflow */ export declare const useLinkedInProfileExtractor: () => { storeProfile: (userId: string, profileData: LinkedInProfileData) => Promise; getStoredProfile: () => Promise; clearProfile: () => Promise; }; declare const _default: { storeLinkedInProfile: (userId: string, profileData: LinkedInProfileData) => Promise; storeLinkedInProfileLocally: (profileData: LinkedInProfileData) => Promise; getLinkedInProfileLocally: () => Promise; clearLinkedInProfileLocally: () => Promise; storeLinkedInProfileToBackend: (userId: string, profileData: LinkedInProfileData) => Promise; useLinkedInProfileExtractor: () => { storeProfile: (userId: string, profileData: LinkedInProfileData) => Promise; getStoredProfile: () => Promise; clearProfile: () => Promise; }; }; export default _default; //# sourceMappingURL=linkedinProfileService.d.ts.map