declare module '*.jpg' { export default '' as string; } declare module '*.png' { export default '' as string; } type SvgrComponent = React.StatelessComponent>; declare module '*.svg?c' { const value: SvgrComponent; export default value; } declare module '*.css'; declare module '@open-amt-cloud-toolkit/ui-toolkit-react/reactjs/src/kvm.bundle'; declare module 'axios-progress-bar' { import { AxiosInstance } from 'axios'; import { NProgressOptions } from 'nprogress'; export function loadProgressBar( config?: Partial, instance?: AxiosInstance ): void; } interface Window { /** * will be true if portainer is run as a Docker Desktop Extension */ ddExtension?: boolean; } declare module 'process' { global { namespace NodeJS { interface ProcessEnv { PORTAINER_EDITION: 'BE' | 'CE'; } } } }