import { City, Client, Profile, ProfileJob } from "@salaxy/core"; import { SessionService } from "../account/SessionService"; /** Repository for managing user Worker profile pages data (osaajaprofiili) */ export declare class MyProfileRepository { private client; /** Current profile */ myProfile: Profile; /** List of Jobs for editor component */ jobsForEdit: ProfileJob[]; /** List of cities for editor component */ citiesForEdit: City[]; /** Creates a new instance of MyProfileRepository with dependency injection. */ constructor(client: Client); /** * Assures the repository initialization: * Initialization is done after successful authentication. * Typically the call to fetch the repository list, but may fetch other stuff from the server. * * @param session - The session service that contains information about the authenticated user. */ init(session: SessionService): void; reloadMyProfile(): void; save(callback?: any): void; getJobsForEdit(): ProfileJob[]; getCitiesForEdit(): City[]; }