/* eslint-disable @typescript-eslint/no-explicit-any */ // src/declarations.d.ts declare module '*.css' { const content: string; export default content; } declare module '*.png' { const content: string; export default content; } declare module '*.svg' { const content: string; export default content; } declare module '@pubuduth-aplicy/chat-ui' { import { ReactNode, FC } from 'react'; interface ChatConfig { apiUrl: string; role?: string; webSocketUrl: string; cdnUrl?: string; apiClient:AxiosInstance } interface ChatProviderProps { userId: string; children: ReactNode; } interface ChatContextValue { socket: any; // Replace 'any' with proper Socket type if available userId: string; onlineUsers: any[]; } // Export the Chat component and provider export const ChatProvider: FC; export const Chat: FC; // Export the config functions export function initChatConfig(config: ChatConfig): void; export function getChatConfig(): ChatConfig; // Export the hook export function useChatContext(): ChatContextValue; }