    package mg.dot.feufaro.di

    import org.koin.core.module.dsl.singleOf    // Import for Koin DSL
    import org.koin.core.module.dsl.bind       // Import for Koin DSL
    import org.koin.dsl.module
    import mg.dot.feufaro.FileRepository
    import mg.dot.feufaro.config.AppConfig

    val desktopModule = module {
        // When Koin is initialized on Desktop, it will use DesktopFileRepository
        // as the implementation for the FileRepository interface.
        single<AppConfig> {
            AppConfig(
                transposeto = "C",
                transposeasif = "C"
            )
        }
    }

    actual val platformModule = module {
        single<FileRepository> { DesktopFileRepository() } // Une version simple sans Context
    }