package com.tt.honeyDue.platform

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

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