export declare function getSessionProfile(cookies: boolean, customProfileDir?: string, syncDataAcrossBrowsers?: boolean, browserPath?: string): string; export declare function sanitizeAppName(appName: string): string; /** * Asserts that the given profile directory is NOT a real desktop app's native user data directory. * Throws a security block error if it matches root or subdirectory of standard app data paths. */ export declare function assertNotRealElectronProfile(profileDir: string, appName: string): void; /** * Resolves the isolated profile directory for a specific Electron application. */ export declare function getElectronProfile(appName: string, customProfileDir?: string): string;