import { ColumnModel, CsvTableDescriptor } from '@sage-bionetworks/synapse-client';
export type CsvPreviewDialogProps = {
    /** Whether the dialog is open */
    open: boolean;
    /** Callback when the dialog is closed */
    onClose: () => void;
    /** Callback when the user confirms the column models
     * @param dataFileHandleId - The file handle ID of the uploaded CSV
     * @param columnModels - The confirmed column models
     * */
    onConfirm: (dataFileHandleId: string, columnModels: ColumnModel[], csvTableDescriptor: CsvTableDescriptor) => void;
    /** Whether the confirm action is pending */
    confirmIsPending?: boolean;
    /** An optional error message to display */
    errorMessage?: string;
};
export default function CsvPreviewDialog(props: CsvPreviewDialogProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CsvPreviewDialog.d.ts.map