UNPKG

react-profile-component

Version:
87 lines (86 loc) 32.6 kB
import*as React$1 from'react';import React__default,{MouseEventHandler}from'react';import*as react_modal from'react-modal';import*as styled_components from'styled-components';interface IProfileData$1{header:IHeader$1;sections:ISections$1;download:DownloadType$1;forms:FormsType$1;labels:Record<string,string>;} interface ISectionInfo$1{title:string;ref?:string;icon?:string;} interface IAboutMeInfo$1 extends ISectionInfo$1{info:string;} interface IDetailInfo$1 extends ISectionInfo$1{info:{id:AboutMeDetailType$1;label:string;info:string;canCopy?:boolean;}[];} interface ISkill$1{label:string;star:number;} interface ISkillInfo$1 extends ISectionInfo$1{info:ISkill$1[];} interface IExperience$1{name:string;type:string;from:string;to?:string;designation:string;responsibilities:string;projects:IProjectExperience$1[];} interface IExperienceInfo$1 extends ISectionInfo$1{info:IExperience$1[];} interface IEducationInfo$1 extends IAboutMeInfo$1{} interface ILink$1{link:string;label:LinkType$1;display?:boolean;} interface ILinkInfo$1 extends ISectionInfo$1{info:ILink$1[];} interface IOpenSource$1{id:string;title:string;npm?:string;github:string;skillsUsed:string;description:string;} interface IOpenSourceInfo$1 extends ISectionInfo$1{info:IOpenSource$1[];} interface ISections$1{aboutMe:IAboutMeInfo$1;details:IDetailInfo$1;skills:ISkillInfo$1;experiences:IExperienceInfo$1;education:IEducationInfo$1;links:ILinkInfo$1;openSourceProjects:IOpenSourceInfo$1;} type FormType$1="contactForm";interface ILabelValue$1{label:string;value:string;} interface IFieldErrorMessages$1{regexError:string;fieldError:string;} interface IFormMessages$1{mandatoryError:string;retry:string;} interface IFormField$1{id:string;name:string;label:string;placeholder:string;required?:boolean;subType?:string;type:string;maxLength?:number;regex?:string;parentField?:string;childFields?:string[];messages?:IFieldErrorMessages$1;values?:ILabelValue$1[];} declare enum CONTACT_FORM_STATUS$1{FORM_FILL="form_fill",SENDING="sending",SUCCESS="success",ERROR="error",REVIEW="review",OFFLINE="offline",} type MailStatusType$1=Record<CONTACT_FORM_STATUS$1,string>;interface IFormInfo$1{name:string;header:string;showErrorOnMobileBrowsers?:boolean;hideRemainingCharacters?:boolean;key:string;actionButtonLabel:string;defaultMaxLength:number;statusMessages:MailStatusType$1;label:Record<string,string>;transformFields:{id:string;transform:string;}[];messages:IFormMessages$1;fields:IFormField$1[];} type FormsType$1={[key in FormType$1]:IFormInfo$1;};interface IHeader$1{shortDesc:string;name:string;currentJobRole:string;} type DownloadStages$1="download"|"downloading"|"downloaded";type DownloadType$1={[key in DownloadStages$1]:{disabled?:boolean;message:string;icon:string;};}&{type:string;staticFileUrl:string};interface IProjectExperience$1{title:string;shortTitle:string;client:string;duration:string;role:string;softwareTech:string;description:string;links:string[];} type AboutMeDetailType$1="email"|"mobile"|"location";type LinkType$1=|"whatsApp"|"github"|"facebook"|"linkedIn"|"twitter";declare const mockProfileData:IProfileData$1;interface IProfileData{header:IHeader;sections:ISections;download:DownloadType;forms:FormsType;labels:Record<string,string>;} interface ISectionInfo{title:string;ref?:string;icon?:string;} interface IAboutMeInfo extends ISectionInfo{info:string;} interface IDetailInfo extends ISectionInfo{info:{id:AboutMeDetailType;label:string;info:string;canCopy?:boolean;}[];} interface ISkill{label:string;star:number;} interface ISkillInfo extends ISectionInfo{info:ISkill[];} interface IExperience{name:string;type:string;from:string;to?:string;designation:string;responsibilities:string;projects:IProjectExperience[];} interface IExperienceInfo extends ISectionInfo{info:IExperience[];} interface IEducationInfo extends IAboutMeInfo{} interface ILink{link:string;label:LinkType;display?:boolean;} interface ILinkInfo extends ISectionInfo{info:ILink[];} interface IOpenSource{id:string;title:string;npm?:string;github:string;skillsUsed:string;description:string;} interface IOpenSourceInfo extends ISectionInfo{info:IOpenSource[];} interface ISections{aboutMe:IAboutMeInfo;details:IDetailInfo;skills:ISkillInfo;experiences:IExperienceInfo;education:IEducationInfo;links:ILinkInfo;openSourceProjects:IOpenSourceInfo;} type FormType="contactForm";interface ILabelValue{label:string;value:string;} interface IFieldErrorMessages{regexError:string;fieldError:string;} interface IFormMessages{mandatoryError:string;retry:string;} interface IFormField{id:string;name:string;label:string;placeholder:string;required?:boolean;subType?:string;type:string;maxLength?:number;regex?:string;parentField?:string;childFields?:string[];messages?:IFieldErrorMessages;values?:ILabelValue[];} declare enum CONTACT_FORM_STATUS{FORM_FILL="form_fill",SENDING="sending",SUCCESS="success",ERROR="error",REVIEW="review",OFFLINE="offline"} type MailStatusType=Record<CONTACT_FORM_STATUS,string>;interface IFormInfo{name:string;header:string;showErrorOnMobileBrowsers?:boolean;hideRemainingCharacters?:boolean;key:string;actionButtonLabel:string;defaultMaxLength:number;statusMessages:MailStatusType;label:Record<string,string>;transformFields:{id:string;transform:string;}[];messages:IFormMessages;fields:IFormField[];} type FormsType={[key in FormType]:IFormInfo;};type SectionsType={[key in ProfileSectionType]:ISectionInfo;};interface IExperienceJsonInfo{ref:string;name:string;} interface IHeader{shortDesc:string;name:string;currentJobRole:string;} interface IResumeExperience{title:string;info:IResumeOrg[];} interface IResumeOrg{organization:string;responsibilities:string;designation:string;duration:string;projects:{title:string;client:string;links:string[];}[];} type DownloadStages="download"|"downloading"|"downloaded";type DownloadType={[key in DownloadStages]:{disabled?:boolean;message:string;icon:string;};}&{type:string;staticFileUrl:string;};interface IPWA{messages:{install:string;yes:string;no:string;open:string;relatedApp:string;};bannerExpiryTime:number;} type ShortInfosType="client"|"duration"|"role"|"softwareTech";type ExpandableInfosType="description";interface IProjectExperience{title:string;shortTitle:string;client:string;duration:string;role:string;softwareTech:string;description:string;links:string[];} type AboutMeDetailType="email"|"mobile"|"location";type LinkType="whatsApp"|"github"|"facebook"|"linkedIn"|"twitter";interface IOrgProject{organization:string;projects:IProject[];} interface IProject{[key:string]:{info:string;requiresShowHide?:boolean;};} type ProfileSectionType="aboutMe"|"details"|"skills"|"experiences"|"education"|"links"|"openSourceProjects";type RefTypes="homeRef"|"skillsRef"|"experienceRef"|"educationRef"|"contactRef"|"openSourceRef";interface IPreloadedFile{id:string;file:string;} interface IPreloadSrc{id:string;type:string;fileName:string;fileLocation:string;} interface IDeviceConfig{browsers:string[];os:string[];osName:string;browserName:string;} interface IPreloadedAsset{id:string;image:string;} interface IWebServerConfig{devWebUrl:string;prodWebUrl:string;} interface ICMSServerConfig{devCMSUrl:string;prodCMSUrl:string;} interface IServerConfig{webServerConfig:IWebServerConfig;cmsServerConfig:ICMSServerConfig;} interface IEmailJsConfig{serviceId:string;templateId:string;publicKey:string;} interface IProfileContext{data:IProfileData;refs:{[key in RefTypes]:React.MutableRefObject<any>;};deviceConfig:IDeviceConfig;preloadedFiles:IPreloadedFile[];preloadSrcList:IPreloadSrc[];preloadedAssets:IPreloadedAsset[];currentSection:string;appVersion:string;environment:Environment;isDarkMode:boolean;isExport?:boolean;isDownloading?:boolean;isMobile:boolean;showComponentLibUrl:boolean;isInstallBannerOpen:boolean;hasDownloadedProfile?:boolean;isContactFormOpen:boolean;isModalOpen:boolean;serverConfig:IServerConfig;emailJsConfig:IEmailJsConfig;pwaOffset:number;setIsContactFormOpen:(isContactFormOpen:boolean)=>void;setIsModalOpen:(isModalOpen:boolean)=>void;} interface IProfileSections{header:IHeader;aboutMe:IAboutMeInfo;education:IEducationInfo;details:IDetailInfo;experiences:IExperienceInfo;openSourceProjects:IOpenSourceInfo;} interface IProfileConfigData{profileSections:IProfileSections;links:ILinkInfo;download:DownloadType;skills:ISkillInfo;contactForm:IFormInfo;profileLabels:Record<string,string>;} type ContactFormFields="userName"|"userMobile"|"userEmail"|"message"|"userSocialMessengers";type ContactFormData={[key in ContactFormFields]:string|Record<string,boolean>;};type ContactFormValid=Record<string,boolean>;type ContactFormError=Record<string,string>;type ContactFormFieldData=string|Record<string,boolean>;type Environment="development"|"production"|"test";type FormFieldValueType=string|number|boolean|Record<string,boolean>;interface PWABannerProps{pwa:IPWA;isMobile:boolean;hasPWAInstalled:boolean;isInstallPromptSupported:boolean;isInstallBannerOpen:boolean;isStandalone:boolean;isWebWithPWA:boolean;config:IDeviceConfig;environment:Environment;webServerConfig:IWebServerConfig;setIsInstallBannerOpen:(display:boolean)=>void;onClickInstall:Function;} declare const PWABanner:React$1.ForwardRefExoticComponent<PWABannerProps&React$1.RefAttributes<HTMLDivElement>>;interface ProfileProps{profileData:IProfileData;refs:{homeRef:React__default.MutableRefObject<any>;skillsRef:React__default.MutableRefObject<any>;experienceRef:React__default.MutableRefObject<any>;educationRef:React__default.MutableRefObject<any>;contactRef:React__default.MutableRefObject<any>;openSourceRef:React__default.MutableRefObject<any>;};preloadSrcList:IPreloadSrc[];preloadedFiles:IPreloadedFile[];preloadedAssets:IPreloadedAsset[];serverConfig:IServerConfig;emailJsConfig:IEmailJsConfig;appVersion:string;environment:Environment;isDarkMode:boolean;isDownloading:boolean;isMobile:boolean;isHamburgerMenuOpen:boolean;isInstallBannerOpen:boolean;isExport:boolean;hasPWAInstalled:boolean;showComponentLibUrl?:boolean;deviceConfig:IDeviceConfig;pwaOffset:number;setIsDownloading:(isDownloading:boolean)=>void;setIsHamburgerMenuOpen:(isHamburgerMenuOpen:boolean)=>void;onInstallPWA:()=>void;} declare const Profile:(props:ProfileProps)=>JSX.Element;interface IContactProps{links?:ILinkInfo;refObj?:React__default.MutableRefObject<any>;} declare const Contact:(props:IContactProps)=>JSX.Element;interface ICloseIconProps{height?:number;width?:number;circleFillColor?:string;gStrokeColor?:string;} declare const CloseIcon:(props:ICloseIconProps)=>JSX.Element;interface ICopyIconProps{height?:number;width?:number;} declare const CopyIcon:(props:ICopyIconProps)=>JSX.Element;interface IFacebookIconProps{height?:number;width?:number;fillColor?:string;} declare const FacebookIcon:(props:IFacebookIconProps)=>JSX.Element;interface IGithubIconProps{height?:number;width?:number;} declare const GithubIcon:(props:IGithubIconProps)=>JSX.Element;interface IHamburgerIconProps{height?:number;width?:number;fillColor?:string;} declare const HamburgerIcon:(props:IHamburgerIconProps)=>JSX.Element;interface ILinkedInIconProps{height?:number;width?:number;fillColor?:string;} declare const LinkedInIcon:(props:ILinkedInIconProps)=>JSX.Element;interface IMobileApplicationIconProps{height?:number;width?:number;} declare const MobileApplicationIcon:(props:IMobileApplicationIconProps)=>JSX.Element;interface IStarIconProps{height?:number;width?:number;offset0StopColor?:string;offset1StopColor?:string;} declare const StarIcon:(props:IStarIconProps)=>JSX.Element;interface IStarUnfilledIconProps{height?:number;width?:number;fillColor?:string;} declare const StarUnfilledIcon:(props:IStarUnfilledIconProps)=>JSX.Element;interface ITickIconProps{height?:number;width?:number;fillColor?:string;strokeWidth?:number;} declare const TickIcon:(props:ITickIconProps)=>JSX.Element;interface ITwitterIconProps{height?:number;width?:number;fillColor?:string;} declare const TwitterIcon:(props:ITwitterIconProps)=>JSX.Element;interface IWhatsAppIconProps{height?:number;width?:number;fillColor?:string;} declare const WhatsAppIcon:(props:IWhatsAppIconProps)=>JSX.Element;interface ILocationIconProps{height?:number;width?:number;} declare const LocationIcon:(props:ILocationIconProps)=>JSX.Element;interface IMailIconProps{height?:number;width?:number;} declare const MailIcon:(props:IMailIconProps)=>JSX.Element;interface IMobileIconProps{height?:number;width?:number;} declare const MobileIcon:(props:IMobileIconProps)=>JSX.Element;interface IResetIconProps{height?:number;width?:number;strokeColor?:string;} declare const ResetIcon:(props:IResetIconProps)=>JSX.Element;declare const lowercase:(str:string)=>string;declare const uppercase:(str:string)=>string;declare const replaceWith:(mainStr:string,replaceChar1:string,replaceChar2:string)=>string;declare const getHref:(label:string,info:string)=>string;declare const setLocalStorage:(key:string,value:any)=>void;declare const getLocalStorage:(key:string)=>any;declare const clearLocalStorage:(key?:string)=>void;declare const isBannerHidden:(hideTime:number)=>boolean;declare const isNetworkOnline:()=>boolean;declare const getPdfFile:(url:string)=>Promise<{objectUrl:string;hasError:boolean;}>;declare const getPdfBlob:(url:string)=>Promise<{objectUrl:string;hasError:boolean;}>;declare const isEmptyObject:(obj:Object)=>boolean;declare const isStringBooleanRecord:(val:any)=>val is Record<string,boolean>;declare const isObject:(val:any)=>val is Object;declare const isString:(val:any)=>val is string;declare const getObjectKeyValuesByIndex:(obj:Object,index:number)=>any[];declare const getFilteredLinks:(info:ILink[])=>ILink[];declare const getRemainingCharacters:(fieldStr:string,maxLength:number)=>number;declare const isSupportedBrowserAndOS:(browsers:string[],os:string[],browserName:string,osName:string)=>boolean;declare const toDataURL:(url:string,imageId:string)=>Promise<unknown>;declare const getWebUrl:(env:Environment,webConfig:IWebServerConfig)=>string;declare const getServerBaseUrl:(env:Environment,cmsConfig:ICMSServerConfig)=>string;declare const getIconUrl:(url:string,env:Environment,cmsServerConfig:ICMSServerConfig)=>string;declare const getPdfUrl:(env:Environment,fileName:string,cmsServerConfig:ICMSServerConfig)=>string;declare const getPreloadedAsset:(assets:IPreloadedAsset[],assetId:string)=>string;declare const getJsonResponse:(env:Environment,jsonToFetch:string,cmsServerConfig:ICMSServerConfig,data?:any)=>Promise<{data:any;hasError:boolean;}>;declare const getProfileJsonResponse:(env:Environment,jsonToFetch:string,cmsServerConfig:ICMSServerConfig,data:IHeader|ISectionInfo|DownloadType|IFormInfo)=>Promise<{data:any;hasError:boolean;}>;declare const goToLink:(link?:string,target?:string)=>Window|null;declare const Utils_d_clearLocalStorage:typeof clearLocalStorage;declare const Utils_d_getFilteredLinks:typeof getFilteredLinks;declare const Utils_d_getHref:typeof getHref;declare const Utils_d_getIconUrl:typeof getIconUrl;declare const Utils_d_getJsonResponse:typeof getJsonResponse;declare const Utils_d_getLocalStorage:typeof getLocalStorage;declare const Utils_d_getObjectKeyValuesByIndex:typeof getObjectKeyValuesByIndex;declare const Utils_d_getPdfBlob:typeof getPdfBlob;declare const Utils_d_getPdfFile:typeof getPdfFile;declare const Utils_d_getPdfUrl:typeof getPdfUrl;declare const Utils_d_getPreloadedAsset:typeof getPreloadedAsset;declare const Utils_d_getProfileJsonResponse:typeof getProfileJsonResponse;declare const Utils_d_getRemainingCharacters:typeof getRemainingCharacters;declare const Utils_d_getServerBaseUrl:typeof getServerBaseUrl;declare const Utils_d_getWebUrl:typeof getWebUrl;declare const Utils_d_goToLink:typeof goToLink;declare const Utils_d_isBannerHidden:typeof isBannerHidden;declare const Utils_d_isEmptyObject:typeof isEmptyObject;declare const Utils_d_isNetworkOnline:typeof isNetworkOnline;declare const Utils_d_isObject:typeof isObject;declare const Utils_d_isString:typeof isString;declare const Utils_d_isStringBooleanRecord:typeof isStringBooleanRecord;declare const Utils_d_isSupportedBrowserAndOS:typeof isSupportedBrowserAndOS;declare const Utils_d_lowercase:typeof lowercase;declare const Utils_d_replaceWith:typeof replaceWith;declare const Utils_d_setLocalStorage:typeof setLocalStorage;declare const Utils_d_toDataURL:typeof toDataURL;declare const Utils_d_uppercase:typeof uppercase;declare namespace Utils_d{export{Utils_d_clearLocalStorage as clearLocalStorage,Utils_d_getFilteredLinks as getFilteredLinks,Utils_d_getHref as getHref,Utils_d_getIconUrl as getIconUrl,Utils_d_getJsonResponse as getJsonResponse,Utils_d_getLocalStorage as getLocalStorage,Utils_d_getObjectKeyValuesByIndex as getObjectKeyValuesByIndex,Utils_d_getPdfBlob as getPdfBlob,Utils_d_getPdfFile as getPdfFile,Utils_d_getPdfUrl as getPdfUrl,Utils_d_getPreloadedAsset as getPreloadedAsset,Utils_d_getProfileJsonResponse as getProfileJsonResponse,Utils_d_getRemainingCharacters as getRemainingCharacters,Utils_d_getServerBaseUrl as getServerBaseUrl,Utils_d_getWebUrl as getWebUrl,Utils_d_goToLink as goToLink,Utils_d_isBannerHidden as isBannerHidden,Utils_d_isEmptyObject as isEmptyObject,Utils_d_isNetworkOnline as isNetworkOnline,Utils_d_isObject as isObject,Utils_d_isString as isString,Utils_d_isStringBooleanRecord as isStringBooleanRecord,Utils_d_isSupportedBrowserAndOS as isSupportedBrowserAndOS,Utils_d_lowercase as lowercase,Utils_d_replaceWith as replaceWith,Utils_d_setLocalStorage as setLocalStorage,Utils_d_toDataURL as toDataURL,Utils_d_uppercase as uppercase};} declare const ActionBtn:styled_components.StyledComponent<"button",any,{},never>;declare const FlexBox:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const FlexBoxSection:styled_components.StyledComponent<"section",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const Grid:styled_components.StyledComponent<"div",any,{gridTemplateColumns?:string|undefined;gridTemplateRows?:string|undefined;justifyItems?:string|undefined;alignItems?:string|undefined;},never>;type FLEX_WRAP="wrap"|"nowrap"|"initial"|"inherit"|"wrap-reverse"|"unset";type JUSTIFY_CONTENT="flex-start"|"flex-end"|"center"|"space-between"|"space-around"|"space-evenly"|"normal";type ALIGN_ITEMS="flex-start"|"flex-end"|"center"|"baseline"|"stretch"|"normal";type FLEX_DIRECTION="row"|"row-reverse"|"column"|"column-reverse";declare const SecHeader:styled_components.StyledComponent<"header",any,{},never>;declare const Desc:styled_components.StyledComponent<"p",any,{},never>;declare const SectionsWrapper:styled_components.StyledComponent<"section",any,{isMobile:boolean;isExport:boolean;},never>;interface CloseButtonProps{onClose:MouseEventHandler<HTMLButtonElement>;icon:string;width:string;} declare const CloseButton:(props:CloseButtonProps)=>JSX.Element;declare const AutoCloseToastMessage:styled_components.StyledComponent<"div",any,{},never>;declare const PWAWrapper:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;}&{top?:string|undefined;bottom?:string|undefined;},never>;declare const MobilePWAWrapper:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;}&{top?:string|undefined;bottom?:string|undefined;},never>;declare const LoaderImg:styled_components.StyledComponent<"img",any,{isMobile:boolean;},never>;declare const Overlay:styled_components.StyledComponent<"div",any,{opacity:number;top?:number|undefined;bottom?:string|undefined;height?:number|undefined;background?:string|undefined;},never>;declare const ModalBanner:styled_components.StyledComponent<"div",any,{},never>;declare const ModalContentWrap:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const Version:styled_components.StyledComponent<"a",any,{},never>;declare const SectionWrapper:styled_components.StyledComponent<"section",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const ProjectLink:styled_components.StyledComponent<"button",any,{},never>;declare const CustomModalComponent:styled_components.StyledComponent<React$1.ComponentType<Readonly<react_modal.Props>>,any,{},never>;type Elements_d_ALIGN_ITEMS=ALIGN_ITEMS;declare const Elements_d_ActionBtn:typeof ActionBtn;declare const Elements_d_AutoCloseToastMessage:typeof AutoCloseToastMessage;declare const Elements_d_CloseButton:typeof CloseButton;declare const Elements_d_CustomModalComponent:typeof CustomModalComponent;declare const Elements_d_Desc:typeof Desc;type Elements_d_FLEX_DIRECTION=FLEX_DIRECTION;type Elements_d_FLEX_WRAP=FLEX_WRAP;declare const Elements_d_FlexBox:typeof FlexBox;declare const Elements_d_FlexBoxSection:typeof FlexBoxSection;declare const Elements_d_Grid:typeof Grid;type Elements_d_JUSTIFY_CONTENT=JUSTIFY_CONTENT;declare const Elements_d_LoaderImg:typeof LoaderImg;declare const Elements_d_MobilePWAWrapper:typeof MobilePWAWrapper;declare const Elements_d_ModalBanner:typeof ModalBanner;declare const Elements_d_ModalContentWrap:typeof ModalContentWrap;declare const Elements_d_Overlay:typeof Overlay;declare const Elements_d_PWAWrapper:typeof PWAWrapper;declare const Elements_d_ProjectLink:typeof ProjectLink;declare const Elements_d_SecHeader:typeof SecHeader;declare const Elements_d_SectionWrapper:typeof SectionWrapper;declare const Elements_d_SectionsWrapper:typeof SectionsWrapper;declare const Elements_d_Version:typeof Version;declare namespace Elements_d{export{type Elements_d_ALIGN_ITEMS as ALIGN_ITEMS,Elements_d_ActionBtn as ActionBtn,Elements_d_AutoCloseToastMessage as AutoCloseToastMessage,Elements_d_CloseButton as CloseButton,Elements_d_CustomModalComponent as CustomModalComponent,Elements_d_Desc as Desc,type Elements_d_FLEX_DIRECTION as FLEX_DIRECTION,type Elements_d_FLEX_WRAP as FLEX_WRAP,Elements_d_FlexBox as FlexBox,Elements_d_FlexBoxSection as FlexBoxSection,Elements_d_Grid as Grid,type Elements_d_JUSTIFY_CONTENT as JUSTIFY_CONTENT,Elements_d_LoaderImg as LoaderImg,Elements_d_MobilePWAWrapper as MobilePWAWrapper,Elements_d_ModalBanner as ModalBanner,Elements_d_ModalContentWrap as ModalContentWrap,Elements_d_Overlay as Overlay,Elements_d_PWAWrapper as PWAWrapper,Elements_d_ProjectLink as ProjectLink,Elements_d_SecHeader as SecHeader,Elements_d_SectionWrapper as SectionWrapper,Elements_d_SectionsWrapper as SectionsWrapper,Elements_d_Version as Version};} declare const CORS_MODE="cors";declare const TOAST_POSITION="top-center";declare const MESSAGES:{genericError:string;};declare const SHORT_INFOS:ShortInfosType[];declare const EXPANDABLE_INFOS:ExpandableInfosType[];declare const LINKS:{NPM_PROFILE_COMPONENT:string;};declare const DEFAULT_PWA:IPWA;declare const DEFAULT_PROFILE_CONTEXT:IProfileContext;declare const LABEL_TEXT:Record<string,string>;declare const SECTIONS:{COMBINED:string;HEADER:string;ABOUT_ME:string;DETAILS:string;EDUCATION:string;ORGANIZATIONS:string;SKILLS:string;EXPERIENCE:string;LINKS:string;DOWNLOAD:string;RESUME_EXPERIENCES:string;OPEN_SOURCE_PROJECTS:string;};declare const FORMS:{CONTACT_FORM:string;};declare const SECTION_ORDER_DISPLAY:Record<string,{order:number;display?:boolean;}>;declare const LABELS:{PROJECTS:string;CLIENTS:string;RESPONSIBILITIES:string;CLIENT:string;};declare const EXPERIENCE_TYPES:{CURRENT:string;PREVIOUS:string;};declare const FIELD_TYPES:{TEXT:string;MOBILE:string;CHECKBOX:string;TEXTAREA:string;};declare const FIELD_SUB_TYPES:{EMAIL:string;};declare const DEFAULT_PROFILE_CONFIG_DATA:IProfileConfigData;declare const CONFIG_REF_INFO:{ref:string;name:string;};declare const CONFIG_TYPES:{APPCONFIG:string;PROFILECONFIG:string;};declare const SERVER_FILES_LOC="/files";declare const YES="Yes";declare const NO="No";declare const constants_d_CONFIG_REF_INFO:typeof CONFIG_REF_INFO;declare const constants_d_CONFIG_TYPES:typeof CONFIG_TYPES;declare const constants_d_CORS_MODE:typeof CORS_MODE;declare const constants_d_DEFAULT_PROFILE_CONFIG_DATA:typeof DEFAULT_PROFILE_CONFIG_DATA;declare const constants_d_DEFAULT_PROFILE_CONTEXT:typeof DEFAULT_PROFILE_CONTEXT;declare const constants_d_DEFAULT_PWA:typeof DEFAULT_PWA;declare const constants_d_EXPANDABLE_INFOS:typeof EXPANDABLE_INFOS;declare const constants_d_EXPERIENCE_TYPES:typeof EXPERIENCE_TYPES;declare const constants_d_FIELD_SUB_TYPES:typeof FIELD_SUB_TYPES;declare const constants_d_FIELD_TYPES:typeof FIELD_TYPES;declare const constants_d_FORMS:typeof FORMS;declare const constants_d_LABELS:typeof LABELS;declare const constants_d_LABEL_TEXT:typeof LABEL_TEXT;declare const constants_d_LINKS:typeof LINKS;declare const constants_d_MESSAGES:typeof MESSAGES;declare const constants_d_NO:typeof NO;declare const constants_d_SECTIONS:typeof SECTIONS;declare const constants_d_SECTION_ORDER_DISPLAY:typeof SECTION_ORDER_DISPLAY;declare const constants_d_SERVER_FILES_LOC:typeof SERVER_FILES_LOC;declare const constants_d_SHORT_INFOS:typeof SHORT_INFOS;declare const constants_d_TOAST_POSITION:typeof TOAST_POSITION;declare const constants_d_YES:typeof YES;declare namespace constants_d{export{constants_d_CONFIG_REF_INFO as CONFIG_REF_INFO,constants_d_CONFIG_TYPES as CONFIG_TYPES,constants_d_CORS_MODE as CORS_MODE,constants_d_DEFAULT_PROFILE_CONFIG_DATA as DEFAULT_PROFILE_CONFIG_DATA,constants_d_DEFAULT_PROFILE_CONTEXT as DEFAULT_PROFILE_CONTEXT,constants_d_DEFAULT_PWA as DEFAULT_PWA,constants_d_EXPANDABLE_INFOS as EXPANDABLE_INFOS,constants_d_EXPERIENCE_TYPES as EXPERIENCE_TYPES,constants_d_FIELD_SUB_TYPES as FIELD_SUB_TYPES,constants_d_FIELD_TYPES as FIELD_TYPES,constants_d_FORMS as FORMS,constants_d_LABELS as LABELS,constants_d_LABEL_TEXT as LABEL_TEXT,constants_d_LINKS as LINKS,constants_d_MESSAGES as MESSAGES,constants_d_NO as NO,constants_d_SECTIONS as SECTIONS,constants_d_SECTION_ORDER_DISPLAY as SECTION_ORDER_DISPLAY,constants_d_SERVER_FILES_LOC as SERVER_FILES_LOC,constants_d_SHORT_INFOS as SHORT_INFOS,constants_d_TOAST_POSITION as TOAST_POSITION,constants_d_YES as YES};} declare const FieldLabel:styled_components.StyledComponent<"label",any,{isMobile:boolean;},never>;declare const FieldWrap:styled_components.StyledComponent<"section",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const TextInput:styled_components.StyledComponent<"input",any,{},never>;declare const TextArea:styled_components.StyledComponent<"textarea",any,{},never>;declare const RemainingCharacters:styled_components.StyledComponent<"span",any,{},never>;declare const InputWrap:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const Error:styled_components.StyledComponent<"span",any,{},never>;declare const CheckboxInput:styled_components.StyledComponent<"input",any,{},never>;declare const CheckboxInputLabel:styled_components.StyledComponent<"label",any,{},never>;declare const CheckboxTick:styled_components.StyledComponent<"button",any,{},never>;declare const CheckboxInputWrap:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const Form:styled_components.StyledComponent<"form",any,{isMobile:boolean;},never>;declare const StatusWrap:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const StatusMessage:styled_components.StyledComponent<"div",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const ActionsWrap:styled_components.StyledComponent<"section",any,{direction?:FLEX_DIRECTION|undefined;justifyContent?:JUSTIFY_CONTENT|undefined;alignItems?:string|undefined;flexWrap?:FLEX_WRAP|undefined;flexBasis?:string|undefined;},never>;declare const FormSubmit:styled_components.StyledComponent<"button",any,{},never>;declare const Retry:styled_components.StyledComponent<"a",any,{},never>;declare const ProgressMessage:styled_components.StyledComponent<"p",any,{},never>;declare const FormHeader:styled_components.StyledComponent<"h2",any,{},never>;interface IFormFieldProps{field:IFormField;fieldValid?:boolean;fieldError?:string;fieldValue:FormFieldValueType;isFormSubmit:boolean;autoFocus:boolean;defaultMaxLength:number;showErrorOnMobileBrowsers?:boolean;hideRemainingCharacters?:boolean;updateInput:(value:FormFieldValueType,field:string,valueId?:string)=>void;validateField:(value:FormFieldValueType,field:string)=>void;} declare const FormField:(props:IFormFieldProps)=>JSX.Element;declare const validateLength:(value:string|number)=>boolean;declare const validateRegex:(value:string|number,regex:string,isValid:boolean)=>boolean;declare const transformField:(fieldData:ContactFormFieldData,transform:string)=>any;declare const transformMailRequest:(formData:ContactFormData,fieldsToTransform:{id:string;transform:string;}[])=>ContactFormData;declare const validateField:(form:IFormInfo,formError:ContactFormError|null,formValid:ContactFormValid|null,requiredFields:IFormField[],value:FormFieldValueType,field:string)=>{formError:{[x:string]:string;};formValid:{[x:string]:boolean;};formDisabled:boolean;};declare const getDecryptedConfig:(config:string[],formKey:string)=>string[];declare const getDefaultContactFormData:(formFields:IFormField[])=>any;declare const getErrorMessage:(messages:IFormMessages,fieldErrorMessages?:IFieldErrorMessages,fieldError?:string)=>string;declare const getRemainingCharPercentMap:(remainingCharacters:number,maxLength?:number)=>{lesserToNoChars:boolean;lessChars:boolean;};declare const isLessCharacters:(remainingCharacters:number,maxLength?:number)=>boolean;export{type AboutMeDetailType,ActionsWrap,CONTACT_FORM_STATUS,CheckboxInput,CheckboxInputLabel,CheckboxInputWrap,CheckboxTick,CloseIcon,constants_d as Constants,Contact,type ContactFormData,type ContactFormError,type ContactFormFieldData,type ContactFormFields,type ContactFormValid,CopyIcon,type DownloadType,Elements_d as Elements,type Environment,Error,type ExpandableInfosType,FacebookIcon,FieldLabel,FieldWrap,Form,FormField,type FormFieldValueType,FormHeader,FormSubmit,type FormType,type FormsType,GithubIcon,HamburgerIcon,type IAboutMeInfo,type ICMSServerConfig,type IDetailInfo,type IDeviceConfig,type IEducationInfo,type IEmailJsConfig,type IExperience,type IExperienceInfo,type IExperienceJsonInfo,type IFieldErrorMessages,type IFormField,type IFormInfo,type IFormMessages,type IHeader,type ILabelValue,type ILink,type ILinkInfo,type IOpenSource,type IOpenSourceInfo,type IOrgProject,type IPWA,type IPreloadSrc,type IPreloadedAsset,type IPreloadedFile,type IProfileConfigData,type IProfileContext,type IProfileData,type IProject,type IProjectExperience,type IResumeExperience,type IResumeOrg,type ISectionInfo,type ISections,type IServerConfig,type ISkill,type ISkillInfo,type IWebServerConfig,InputWrap,type LinkType,LinkedInIcon,LocationIcon,MailIcon,type MailStatusType,MobileApplicationIcon,MobileIcon,PWABanner,Profile,type ProfileSectionType,ProgressMessage,type RefTypes,RemainingCharacters,ResetIcon,Retry,type SectionsType,type ShortInfosType,StarIcon,StarUnfilledIcon,StatusMessage,StatusWrap,TextArea,TextInput,TickIcon,TwitterIcon,Utils_d as Utils,WhatsAppIcon,getDecryptedConfig,getDefaultContactFormData,getErrorMessage,getRemainingCharPercentMap,isLessCharacters,mockProfileData,transformField,transformMailRequest,validateField,validateLength,validateRegex};