@ethora/chat-component 25.4.12 → 25.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,3 +125,11 @@ export declare const DoubleTick: ({ fill, color, ...props }: {
125
125
  fill?: string;
126
126
  color?: string;
127
127
  }) => import("react/jsx-runtime").JSX.Element;
128
+ export declare const RedCross: ({ color, ...props }: {
129
+ [x: string]: any;
130
+ color?: string;
131
+ }) => import("react/jsx-runtime").JSX.Element;
132
+ export declare const SingleTick: ({ color, ...props }: {
133
+ [x: string]: any;
134
+ color?: string;
135
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { IMessage, RoomMember } from '../types/types';
2
+
3
+ export declare const checkUniqueUsers: (messages: IMessage[]) => Promise<RoomMember[]>;
4
+ export declare const checkSingleUser: (usersSet: Record<string, RoomMember>, xmppUsername: string) => Promise<RoomMember>;
@@ -0,0 +1,4 @@
1
+ import { IMessage, IUser, RoomMember } from '../types/types';
2
+
3
+ export declare const getUnnamedUsers: (messages: IMessage[]) => IUser[];
4
+ export declare const fixUnnamedArrayFromApi: (unnamedUsers: IUser[]) => Promise<RoomMember[]>;
@@ -0,0 +1,4 @@
1
+ export declare function findError(node: Element): {
2
+ hasError: boolean;
3
+ errorText: string | null;
4
+ };
@@ -1,3 +1,5 @@
1
- import { ApiRoom } from '../types/types';
1
+ import { ApiRoom, IRoom } from '../types/types';
2
2
 
3
- export declare function isChatIdPresentInArray(chatIdToFind: string, chatList: ApiRoom[]): boolean;
3
+ export declare function isChatIdPresentInArray(chatIdToFind: string, chatList: ApiRoom[] | {
4
+ [jid: string]: IRoom;
5
+ }): boolean;