import { CometChatSearchFilter } from "../Enums/Enums";
import { CalendarObject } from "./CalendarObject";
/**
 * Checks if two dates (timestamps) are from different months or years
 *
 * @param firstDate - First timestamp to compare in milliseconds
 * @param secondDate - Second timestamp to compare in milliseconds
 * @param errorHandler - Optional error handler function for exception handling
 * @returns boolean indicating if the dates belong to different months or years
 */
export declare function isMonthDifferent(firstDate?: number, secondDate?: number, errorHandler?: (error: unknown, source?: string) => void): boolean;
/**
 * Get common date format based on provided custom format
 * @returns CalendarObject with format specifications
 */
export declare function getCommonDateFormat(customFormat?: CalendarObject): CalendarObject;
/**
 * Checks if message search criteria are valid
 * Returns true if search keyword exists or if valid filters are active
 */
export declare function hasValidMessageSearchCriteria(searchKeyword: string, filters: CometChatSearchFilter[]): boolean;
/**
 * Checks if conversation search criteria are valid
 * Returns true if search keyword exists or if valid filters are active
 */
export declare function hasValidConversationSearchCriteria(searchKeyword: string, filters: CometChatSearchFilter[]): boolean;
/**
 * Checks if a message has link preview metadata
 */
export declare function hasLink(metadata: any): boolean;
