package com.tt.honeyDue.platform

import androidx.compose.runtime.Composable
import com.tt.honeyDue.models.JoinResidenceResponse

/**
 * Platform-specific composable that handles residence import flow.
 * On Android, shows dialogs to confirm and execute import.
 * On other platforms, this is a no-op.
 *
 * @param pendingResidenceImportUri Platform-specific URI object (e.g., android.net.Uri)
 * @param onClearResidenceImport Called when import flow is complete
 * @param onImportSuccess Called when a residence is successfully joined
 */
@Composable
expect fun ResidenceImportHandler(
    pendingResidenceImportUri: Any?,
    onClearResidenceImport: () -> Unit,
    onImportSuccess: (JoinResidenceResponse) -> Unit = {}
)
