import type { ImageUpload } from 'react-file-utils'; import type { UserResponse } from 'stream-chat'; import type { ChannelActionContextValue } from '../../../context/ChannelActionContext'; import type { ChatContextValue } from '../../../context/ChatContext'; import type { TranslationContextValue } from '../../../context/TranslationContext'; import type { DefaultStreamChatGenerics } from '../../../types/types'; export declare const accentsMap: { [key: string]: string; }; export declare const removeDiacritics: (text?: string) => string; export declare const calculateLevenshtein: (query: string, name: string) => number; export declare type SearchLocalUserParams = { ownUserId: string | undefined; query: string; text: string; users: UserResponse[]; useMentionsTransliteration?: boolean; }; export declare const searchLocalUsers: (params: SearchLocalUserParams) => UserResponse[]; declare type CheckUploadPermissionsParams = { addNotification: ChannelActionContextValue['addNotification']; file: ImageUpload['file']; getAppSettings: ChatContextValue['getAppSettings']; t: TranslationContextValue['t']; uploadType: 'image' | 'file'; }; export declare const checkUploadPermissions: (params: CheckUploadPermissionsParams) => Promise; export {}; //# sourceMappingURL=utils.d.ts.map