declare module 'phone' {
  // export iso3166_data: any;

  const a: { [key: string]: any };
  export = a;
}

declare module 'js-cookie';

declare module '*.css';
declare module '*.jpg';
declare module '*.png';
declare module '*.svg';

declare module '*.scss' {
  const content: Record<string, string>;
  export default content;
}

declare module 'grafana/app/core/core' {
  import { OrgRole } from '@grafana/data';

  // https://github.com/grafana/grafana/blob/main/public/app/core/services/context_srv.ts#L59
  export const contextSrv: {
    user: {
      orgRole: OrgRole | '';
      permissions?: Record<string, boolean>;
    };

    hasPermission(action: string): boolean;
    licensedAccessControlEnabled(): boolean;
  };
}
