/** * Profile Population Utilities * Functions to populate Chrome profile with realistic user data * * 2024-2025 Features: * - Browsing history entries * - Site permissions * - Storage access patterns * - localStorage pre-population * - Returning visitor simulation */ /** * Popular sites for realistic browsing history */ declare const COMMON_SITES: { url: string; title: string; visitCount: number; }[]; /** * Generate Local State file content */ export declare const generateLocalState: () => object; /** * Generate site engagement data */ export declare const generateSiteEngagement: (sites?: typeof COMMON_SITES) => object; /** * Generate media engagement data */ export declare const generateMediaEngagement: () => object; /** * Options for populating a profile */ export interface PopulateProfileOptions { /** Add browsing history indicators */ addHistory?: boolean; /** Add site engagement data */ addEngagement?: boolean; /** Add media engagement data */ addMediaEngagement?: boolean; /** Custom sites for history/engagement */ customSites?: typeof COMMON_SITES; /** Days of history to simulate */ historyDays?: number; } /** * Populate a Chrome profile with realistic user data */ export declare const populateChromeProfile: (profilePath: string, options?: PopulateProfileOptions) => Promise; /** * Generate localStorage data to inject after page load * Returns a script that can be evaluated in the browser context */ export declare const generateLocalStorageScript: (sites?: string[]) => string; /** * Generate session storage data for returning visitor simulation */ export declare const generateSessionStorageScript: () => string; /** * Generate cookies to set via CDP * Returns an array of cookie objects compatible with CDP Network.setCookie */ export interface ProfileCookie { name: string; value: string; domain: string; path: string; secure: boolean; httpOnly: boolean; sameSite: 'Strict' | 'Lax' | 'None'; expires?: number; } export declare const generateReturningVisitorCookies: (domain: string) => ProfileCookie[]; export {}; //# sourceMappingURL=populate-profile.d.ts.map