'use client'; import { StaticImageData } from 'next/image'; import { createContext } from 'react'; export const emptyFn = (): any => undefined; type UserWithoutPassword = any; type Language = any; type TenantSimple = any; type DefaultPermission = any; type GroupWithDetails = any; type TenantTypeWithDetails = any; export interface AppContext { iconLight: StaticImageData | string; iconDark: StaticImageData | string; logoLight: StaticImageData | string; logoDark: StaticImageData | string; t: (path: string, _?: string[]) => string; } export const appContext = createContext({ iconLight: '', iconDark: '', logoLight: '', logoDark: '', t: emptyFn });