// HINT: To tell the SvelteKit + TypeScript app how to handle type imports,
// create a global.d.ts file containing the following line:
/// <reference types="@sveltejs/kit" />

// =======================================================================
// src/app.d.ts (타입 정의를 위해 새로 생성)
// =======================================================================
declare namespace App {
  // interface Error {}
  // interface Locals {}
  // interface PageData {}
  // interface Platform {}
}

// 애플리케이션 전반에서 사용할 데이터 구조 정의
interface DataNumberInfo {
  Index: number;
  DataNumber: number;
  LocationFile: string;
}

interface Rectangle {
  id: number; // 고유 ID 추가
  x: number;
  y: number;
  width: number;
  height: number;
}

declare module '@iconify/svelte' {
  import type { SvelteComponentTyped } from 'svelte';
  export class Icon extends SvelteComponentTyped<any> {}
}