import { Identifier, Profile, ProfileAttribute, ProfileStatus } from "../../../flex-ui-core/src"; import { ITask } from "../../../models"; import { Notification } from "../../../notifications/Notifications"; import { ErrorType, LinkTaskProps, UnlinkTaskProps } from "../FlexUnifyContainer.definitions"; export declare const setViewConfiguration: (response: any[]) => void; export declare const getName: (profile: Profile) => string; export declare const setConnectorOptionsConfiguration: (response: any[]) => void; export declare const setConnectorSearchIdentifiers: (identifiers: Array) => void; /** * Determines if a profile can be shown based on the profile status and the "show unidentified profiles" setting. * @param {boolean} showUnidentifiedEnabled - Flag indicating whether unidentified/"unknown" profiles should be shown. * @param {ProfileStatus} [profileStatus] - The status of the profile. * @returns {boolean} - True if the profile can be shown, otherwise false. * @private * @since 2.11.0 * @example * const canShow = canShowThisProfile(true, "unknown"); * console.log(canShow); // true */ export declare const canShowThisProfile: (showUnidentifiedEnabled: boolean, profileStatus?: ProfileStatus) => boolean; export declare const getTitleText: (errorType: ErrorType) => string; export declare const getSubtitleText: (errorType: ErrorType) => string; export declare const defaultCleanPhoneNumber: (phoneNumber: string) => string; export declare const flexUnifyNotificationFilter: (notification: Notification, cdpDegradationBannerClosed: boolean) => boolean; export declare const addTaskSidToLocalStorage: (taskSid: string) => void; export declare const removeTaskSidFromLocalStorage: (taskSid: string) => void; export declare const isTaskUnlinkedOnLocalStorage: (taskSid: string) => boolean; export declare const getAddressAttributes: (task: ITask, emailKey?: string, phoneNumberKey?: string) => ProfileAttribute[] | undefined; export declare const linkAndSetCurrentView: ({ newProfileConnector, view, task, setIsTaskUnlinked, setCurrentView, profileConnectorType }: LinkTaskProps) => Promise; export declare const unlinkAndSetCurrentView: ({ view, setIsTaskUnlinked, setCurrentView, resetProfiles, resetProfile, task, profileConnector, previousProfileConnectSid, profileConnectorType }: UnlinkTaskProps) => Promise;