import type { BSTicker } from "./BrightSign";

declare global {
  interface Window {
    IsBSLocalFilePresent?: () => boolean;
    BSTicker: typeof BSTicker;
    DeviceAPI: {
      getFirmwareVersion: () => Promise<string>;
      getModel: () => Promise<string>;
      getIPAddress: () => Promise<string>;
      getSerialNumber: () => Promise<string>;
      reboot: () => Promise<void>;
      getStorageEncryptionStatus: () => Promise<{
        encrypted: boolean;
        prerequisitesMet: boolean;
      }>;
    };
  }
}
