import { Maybe } from "@krowdy/utils"; import { ReactNode } from "react"; type _Date = Date | number | string; interface EmailsPhonesResponse { _id: string; type?: Maybe; value?: Maybe; title?: Maybe; } interface Coordinates { lat: number; lng: number; } interface CandidateGeolocation { country?: Maybe; region?: Maybe; city?: Maybe; location?: Maybe; district?: Maybe; zipCode?: Maybe; coordinates?: Maybe; } interface Experience { _id: string; area?: Maybe; companyName?: Maybe; description?: Maybe; endDate?: Maybe<_Date>; hierarchy?: Maybe; idExperienceLaborum?: Maybe; imgUrl?: Maybe; jobPosition?: Maybe; location?: Maybe; startDate?: Maybe<_Date>; workHere?: Maybe; } export type Education = { _id: string; condition?: Maybe; level?: Maybe; institutionName?: Maybe; degree?: Maybe; career?: Maybe; academicArea?: Maybe; startDate?: Maybe<_Date>; endDate?: Maybe<_Date>; studyingHere?: Maybe; description?: Maybe; imgUrl?: Maybe; idEducationLaborum?: Maybe; } interface Knowledge { _id: string; knowledgeName?: Maybe; level?: Maybe; } interface Curriculum { fileName?: Maybe; url?: Maybe; } interface Referent { _id: string; brandingCompany?: Maybe; firstName?: Maybe; lastName?: Maybe; email?: Maybe; phone?: Maybe; } interface Especialization { _id: string; especializationName?: Maybe; especializationtype?: Maybe; especializationPlace?: Maybe; startDate?: Maybe<_Date>; endDate?: Maybe<_Date>; description?: Maybe; imgUrl?: Maybe; studyingHere?: Maybe; condition?: Maybe; } interface MassApplication { enabled?: Maybe; cv?: Maybe; profile?: Maybe; salaryExpectationDisabled?: Maybe; } interface Profile { _id: string; photo?: Maybe; firstName?: Maybe; lastName?: Maybe; email?: Maybe; phone?: Maybe; sex?: Maybe; docNumber?: Maybe; docType?: Maybe; emails?: Maybe; phones?: Maybe; geolocation?: Maybe; experience?: Maybe; referents?: Maybe; education?: Maybe; especialization?: Maybe; knowledge?: Maybe; websites?: Maybe; curriculum?: Maybe; } interface Classes { cardContent: string; root: string; } export type ProfileViewProps = { profile: Profile; classes?: Classes; massApplication?: MassApplication; disableComponents?: boolean; hideCurriculumDetail?: boolean; children?: ReactNode; className?: string; unPaddingContent?: boolean; onError?: (error: Error) => void; hiddenFooter?: boolean; onChange?: (input: Partial) => Promise; onClickSectionEdit?: (e: React.MouseEvent, sectionCode: string) => void; }; interface Country { countryCode: string; countryNameEsp: string; phoneCode: string; } interface GetTokenResponse { token: string; url: string; contentType: string; acl: string; } interface HeaderSectionConfig { schema?: any; assetType?: string; entity?: string; getToken?: (args: {file: File}) => Promise; onError?: (error: Error) => void; types?: string[]; getCountries?: () => Promise; getRegions?: (args: Maybe) => Promise; getCities?: (args: { region: string, country: Country }) => Promise; getDistricts?: (args: { city: string, country: Country }) => Promise; getProfileByEmail?: (email: string) => Promise>>; } interface CurriculumViewConfig { massApplication?: MassApplication; getToken?: (args: {file: File}) => Promise; } interface Area { name: string; } interface ExperienceViewConfig { getAreas?: () => Promise; } type SectionConfigProps = { allow?: boolean; disabled?: boolean, isNoEditable?: boolean} type Components = { WebsitesView: React.ComponentType; CurriculumView: React.ComponentType; EducationView: React.ComponentType; ExperienceView: React.ComponentType; KnowledgeView: React.ComponentType; HeaderView: React.ComponentType; } export interface ProfileViewRefProps { submit: () => Promise; } interface ProfileViewComponentProps extends React.ForwardRefExoticComponent> {} declare const ProfileView: ProfileViewComponentProps & Components; export default ProfileView;