export declare enum ConfirmDialogType {
    Delete = 0,
    Cancel = 1
}
export declare const useDeleteCloseConfirmDialog: (dataSourceId?: string, onDataSourceDeleted?: ((id: string) => void) | undefined, onClosed?: () => void) => {
    openConfirmDialog: (type: ConfirmDialogType, shouldOpen?: boolean) => void;
    confirmDialogAction: (type: ConfirmDialogType) => void;
    openDeleteDSConfirmDialog: boolean;
    openCancelDSConfirmDialog: boolean;
};
